We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0102542 commit 76e64efCopy full SHA for 76e64ef
code/complete/GraphQL/dockerfile
@@ -1,5 +1,5 @@
1
# syntax=docker/dockerfile:1
2
-FROM mcr.microsoft.com/dotnet/sdk:6.0.100-amd64 AS build-env
+FROM mcr.microsoft.com/dotnet/sdk:6.0.100-alpine3.14-amd64 AS build-env
3
WORKDIR /app
4
5
# Copy csproj and restore as distinct layers
@@ -8,7 +8,7 @@ RUN dotnet restore
8
RUN dotnet publish -c Release -o out
9
10
# Build runtime image
11
-FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-amd64
+FROM mcr.microsoft.com/dotnet/aspnet:6.0.100-alpine3.14-amd64
12
13
COPY --from=build-env /app/out .
14
ENTRYPOINT ["dotnet", "GraphQL.dll"]
0 commit comments