quick fix to `Dockerfile`

This commit is contained in:
Alan Moon 2024-11-28 10:41:41 -08:00
parent 1566949913
commit d9f0052dce

View File

@ -9,9 +9,9 @@ COPY . .
RUN dotnet build -c Release -o /app
# Create clean run environment (without source and sdk)
# FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
# WORKDIR /app
# COPY --from=build /app .
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
COPY --from=build /app .
# Run the application
WORKDIR /app