chore: use aspnet base image
This commit is contained in:
+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