mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-21 04:26:36 +00:00
Merge pull request #620 from tcely/patch-4
Dockerfile health check without the shell
This commit is contained in:
commit
8a0a91b83e
@ -375,7 +375,7 @@ RUN set -x && \
|
|||||||
COPY config/root /
|
COPY config/root /
|
||||||
|
|
||||||
# Create a healthcheck
|
# Create a healthcheck
|
||||||
HEALTHCHECK --interval=1m --timeout=10s CMD /app/healthcheck.py http://127.0.0.1:8080/healthcheck
|
HEALTHCHECK --interval=1m --timeout=10s --start-period=3m CMD ["/app/healthcheck.py", "http://127.0.0.1:8080/healthcheck"]
|
||||||
|
|
||||||
# ENVS and ports
|
# ENVS and ports
|
||||||
ENV PYTHONPATH="/app" PYTHONPYCACHEPREFIX="/config/cache/pycache"
|
ENV PYTHONPATH="/app" PYTHONPYCACHEPREFIX="/config/cache/pycache"
|
||||||
|
Loading…
Reference in New Issue
Block a user