Skip to content

Commit

Permalink
Merge pull request #95 from KPMP/KPMP-5541_add-wsgi
Browse files Browse the repository at this point in the history
add gunicorn and run in entry point
  • Loading branch information
rlreamy authored Sep 12, 2024
2 parents 3ab96ca + 78e7792 commit f4e04a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data_management/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ COPY app.py ./
COPY process_bulk_uploads.py ./
COPY services/ ./services

ENTRYPOINT []
ENTRYPOINT ["gunicorn", "-b", ":5000", "app:app"]

3 changes: 2 additions & 1 deletion data_management/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ requests
python_dotenv
python-dateutil
zarr-checksum
pyyaml
pyyaml
gunicorn

0 comments on commit f4e04a0

Please sign in to comment.