Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 1fd6bc2

Browse files
authored
Revert "fix docker builds"
1 parent a121213 commit 1fd6bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://hub.docker.com/_/microsoft-dotnet-core
2-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
2+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
33
WORKDIR /source
44

55
# copy csproj and restore as distinct layers
@@ -14,7 +14,7 @@ WORKDIR /source
1414
RUN dotnet publish -c release -o /app --no-restore
1515

1616
# final stage/image
17-
FROM mcr.microsoft.com/dotnet/runtime:6.0
17+
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-alpine
1818
WORKDIR /app
1919
COPY --from=build /app ./
2020
ENTRYPOINT ["dotnet", "StoreBot.dll"]

0 commit comments

Comments
 (0)