We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d7bbca commit 7c58881Copy full SHA for 7c58881
Dockerfile
@@ -49,5 +49,5 @@ RUN python manage.py collectstatic --noinput && \
49
# Launch
50
USER appuser
51
EXPOSE 8080
52
-HEALTHCHECK CMD bash -c 'wget -o /dev/null -O /dev/null --header "Host: ${ALLOWED_HOSTS%%,*}" "http://127.0.0.1:$PORT/healthz/?format=json"'
+HEALTHCHECK CMD bash -c 'wget -o /dev/null -O /dev/null --header "Host: ${ALLOWED_HOSTS%%,*}" "http://127.0.0.1:${PORT:-8080}/healthz/?format=json"'
53
CMD [ "./entrypoint.sh" ]
0 commit comments