Update Dockerfile

This commit is contained in:
2026-08-06 14:45:41 +03:00
parent bb591ada9a
commit 7ddc7886d9

View File

@@ -13,13 +13,14 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app WORKDIR /app
# Listen on all interfaces so Coolify can reach the app # Listen on all interfaces so Coolify can reach the app
ENV ASPNETCORE_URLS=http://+:5656 # ENV ASPNETCORE_URLS=http://+:5656
# Copy published app from build stage # Copy published app from build stage
COPY --from=build /app/publish . COPY --from=build /app/publish .
# Expose port # Expose port
EXPOSE 5656 EXPOSE 5000
EXPOSE 5001
# Start the application # Start the application
ENTRYPOINT ["dotnet", "LibraryWeb.dll"] ENTRYPOINT ["dotnet", "LibraryWeb.dll"]