Author SHA1 Message Date
marc 6696620ed4 healthcheck 2022-02-23 21:32:47 +01:00
+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"]