aspnet image for worker
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user