Skip to content

Commit 76e64ef

Browse files
committed
Fixed Dockerfile
1 parent 0102542 commit 76e64ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/complete/GraphQL/dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM mcr.microsoft.com/dotnet/sdk:6.0.100-amd64 AS build-env
2+
FROM mcr.microsoft.com/dotnet/sdk:6.0.100-alpine3.14-amd64 AS build-env
33
WORKDIR /app
44

55
# Copy csproj and restore as distinct layers
@@ -8,7 +8,7 @@ RUN dotnet restore
88
RUN dotnet publish -c Release -o out
99

1010
# Build runtime image
11-
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-amd64
11+
FROM mcr.microsoft.com/dotnet/aspnet:6.0.100-alpine3.14-amd64
1212
WORKDIR /app
1313
COPY --from=build-env /app/out .
1414
ENTRYPOINT ["dotnet", "GraphQL.dll"]

0 commit comments

Comments
 (0)