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

Commit

Permalink
Merge pull request #20 from dodopizza/sre-update-dot-net-version-1129…
Browse files Browse the repository at this point in the history
…2742-5

#11292742 pin version, use aspnet
  • Loading branch information
Renat Shaymardanov authored Aug 7, 2023
2 parents 5e7a028 + e58cc0d commit 16bef5d
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 16bef5d

Please sign in to comment.