chore: use aspnet base image
This commit is contained in:
Vendored
+1
@@ -2,6 +2,7 @@
|
|||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"dotnet.defaultSolution": "./src/StevesBot.sln",
|
"dotnet.defaultSolution": "./src/StevesBot.sln",
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
|
"aspnet",
|
||||||
"DOCKERHUB",
|
"DOCKERHUB",
|
||||||
"Reconnectable",
|
"Reconnectable",
|
||||||
"Steves",
|
"Steves",
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ COPY ./StevesBot.Worker/. ./
|
|||||||
FROM base AS publish-stage
|
FROM base AS publish-stage
|
||||||
RUN dotnet publish -c Release -o dist
|
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
|
WORKDIR /app
|
||||||
COPY --from=publish-stage /app/dist ./
|
COPY --from=publish-stage /app/dist ./
|
||||||
ENTRYPOINT ["dotnet", "StevesBot.Worker.dll"]
|
ENTRYPOINT ["dotnet", "StevesBot.Worker.dll"]
|
||||||
Reference in New Issue
Block a user