feature/user-authentication #2
1 changed files with 2 additions and 2 deletions
|
|
@ -47,9 +47,9 @@ ENV ASPNETCORE_ENVIRONMENT=Production
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Health check - use CMD-SHELL for bash /dev/tcp support
|
# Health check - use bash /dev/tcp to check port (no curl needed)
|
||||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=15s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=15s --retries=3 \
|
||||||
CMD-SHELL echo > /dev/tcp/localhost/8080 || exit 1
|
CMD bash -c "echo > /dev/tcp/localhost/8080 || exit 1"
|
||||||
|
|
||||||
# Entry point
|
# Entry point
|
||||||
ENTRYPOINT ["dotnet", "GermanApp.dll"]
|
ENTRYPOINT ["dotnet", "GermanApp.dll"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue