diff --git a/Dockerfile b/Dockerfile index df3159f..5cbed05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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