Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
#
Loading