diff --git a/Dockerfile b/Dockerfile index 166db2a..8274909 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,15 @@ COPY src . # Expose the port EXPOSE 11000 +USER nobody + # Custom monitoring script to check container health HEALTHCHECK --interval=3m CMD python /src/docker-healthcheck.py - + # Command to run CMD ["python", "app.py"] # A production setup should use a production server, uvicorn or similar e.g. # # /usr/bin/gunicorn app:app --workers 5 -k uvicorn.workers.UvicornWorker --bind 127.0.0.1:11000 -# \ No newline at end of file +#