Author SHA1 Message Date
marc 6696620ed4 healthcheck 2022-02-23 21:32:47 +01:00
2 changed files with 1 additions and 5 deletions
-5
View File
@@ -1,5 +0,0 @@
.git
docker-compose.yml
Dockerfile
README.md
test
+1
View File
@@ -3,4 +3,5 @@ WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "-Sf" "localhost:80" ]
ENTRYPOINT ["python", "app.py"]