+2
-3
@@ -9,11 +9,10 @@ RUN dotnet publish -c Release -o /app/publish --no-restore
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||
|
||||
ENV ASPNETCORE_URLS=http://0.0.0.0:8080
|
||||
ENV ASPNETCORE_URLS=http://0.0.0.0:5000
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/publish /app
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["dotnet", "LowLevelGuyCom.dll"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user