chore: use aspnet base image
This commit is contained in:
Vendored
+1
@@ -2,6 +2,7 @@
|
||||
"editor.formatOnSave": true,
|
||||
"dotnet.defaultSolution": "./src/StevesBot.sln",
|
||||
"cSpell.words": [
|
||||
"aspnet",
|
||||
"DOCKERHUB",
|
||||
"Reconnectable",
|
||||
"Steves",
|
||||
|
||||
+1
-1
@@ -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"]
|
||||
Reference in New Issue
Block a user