aspnet image for worker

This commit is contained in:
2026-03-08 19:14:42 +01:00
parent cceed90772
commit a1ff1fc487

View File

@@ -16,7 +16,7 @@ COPY dotnet/ dotnet/
WORKDIR /src/dotnet WORKDIR /src/dotnet
RUN dotnet publish AipsWorker/AipsWorker.csproj -c Release -o /app/publish --no-restore RUN dotnet publish AipsWorker/AipsWorker.csproj -c Release -o /app/publish --no-restore
FROM mcr.microsoft.com/dotnet/runtime:10.0 FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app WORKDIR /app
COPY --from=build /app/publish . COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "AipsWorker.dll"] ENTRYPOINT ["dotnet", "AipsWorker.dll"]