Update Dockerfile

pull/15/head
Laurence Luo 2024-06-17 11:11:15 +08:00
parent 3fb5b8710f
commit 9fe6151fc4
No known key found for this signature in database
GPG Key ID: 76D108A29460F5F9
1 changed files with 2 additions and 0 deletions

View File

@ -11,3 +11,5 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./app.py" ]
HEALTHCHECK CMD curl --fail http://localhost:5000/ || exit 1