chore: use aspnet base image

This commit is contained in:
Stevan Freeborn
2025-05-24 11:30:00 -05:00
parent 064351a6df
commit 4c28cb1f5a
3 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
"editor.formatOnSave": true,
"dotnet.defaultSolution": "./src/StevesBot.sln",
"cSpell.words": [
"aspnet",
"DOCKERHUB",
"Reconnectable",
"Steves",
+1 -1
View File
@@ -8,7 +8,7 @@ COPY ./StevesBot.Worker/. ./
FROM base AS publish-stage
RUN dotnet publish -c Release -o dist
FROM mcr.microsoft.com/dotnet/runtime:9.0
FROM mcr.microsoft.com/dotnet/aspnet:9.0
WORKDIR /app
COPY --from=publish-stage /app/dist ./
ENTRYPOINT ["dotnet", "StevesBot.Worker.dll"]