Applied the latest suggestion from @ashneilson which appears to be a good fix this time.

This commit is contained in:
Matt Scott 2023-12-11 08:36:37 -05:00
parent 67085653ae
commit 9415b4663f
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001

View File

@ -92,6 +92,6 @@ RUN chown ${USER}:${USER} ./configs /app && \
EXPOSE 80/tcp EXPOSE 80/tcp
USER ${USER} USER ${USER}
HEALTHCHECK --interval=5s --timeout=5s --start-period=20s --retries=5 CMD ["wget","--output-document=-","--quiet","--tries=1","http://127.0.0.1${SCRIPT_NAME:-/}"] HEALTHCHECK --interval=5s --timeout=5s --start-period=20s --retries=5 CMD wget --output-document=- --quiet --tries=1 http://127.0.0.1${SCRIPT_NAME:-/}
ENTRYPOINT ["entrypoint.sh"] ENTRYPOINT ["entrypoint.sh"]
CMD ["gunicorn","powerdnsadmin:create_app()"] CMD ["gunicorn","powerdnsadmin:create_app()"]