Update Dockerfile
This commit is contained in:
@@ -13,13 +13,14 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||
WORKDIR /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 --from=build /app/publish .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5656
|
||||
EXPOSE 5000
|
||||
EXPOSE 5001
|
||||
|
||||
# Start the application
|
||||
ENTRYPOINT ["dotnet", "LibraryWeb.dll"]
|
||||
|
||||
Reference in New Issue
Block a user