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

Commit a121213

Browse files
authored
Merge pull request #12 from StoreDev/fix-docker-builds
fix docker builds
2 parents 21eceea + 232fcee commit a121213

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/core/sdk:3.1-alpine AS build
2+
FROM mcr.microsoft.com/dotnet/sdk:6.0 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/core/runtime:3.1-alpine
17+
FROM mcr.microsoft.com/dotnet/runtime:6.0
1818
WORKDIR /app
1919
COPY --from=build /app ./
2020
ENTRYPOINT ["dotnet", "StoreBot.dll"]

0 commit comments

Comments
 (0)