Compare commits
1
Commits
makefile
...
healthcheck
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6696620ed4 |
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user