Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
#11292742 pin version, use aspnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Renat Shajmardanov committed Aug 7, 2023
1 parent 5e7a028 commit e58cc0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build-env
FROM mcr.microsoft.com/dotnet/sdk:6.0.412-bullseye-slim AS build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
Expand All @@ -11,7 +11,7 @@ COPY ./src/queries/get_daily_or_monthly_costs.json ./queries/get_daily_or_monthl
RUN dotnet publish -c Release -o out

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:6.0.20-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:6.0.20-bullseye-slim
WORKDIR /app
EXPOSE 80

Expand Down

0 comments on commit e58cc0d

Please sign in to comment.