mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
moved healthchecks from Dockerfiles to docker-compose.yml
This commit is contained in:
@@ -10,6 +10,4 @@ ADD docker/resources_example.py resources.py
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
HEALTHCHECK --interval=2m --timeout=3s \
|
||||
CMD curl -f http://localhost:5000 || exit 1
|
||||
CMD python3 app.py
|
||||
|
Reference in New Issue
Block a user