Skip to content

Commit

Permalink
KPMP-5671: Try uwsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Nov 18, 2024
1 parent 13812d1 commit 0ebf5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ COPY app.py app.py
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -U flask-cors
CMD ["gunicorn", "-b", ":5000", "--timeout", "300", "app:app"]
CMD ["uwsgi", "--http", ":5000", "--wsgi-file", "app.py"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ boto3
flask-cors
mysql-connector-python
requests
gunicorn
uwsgi

0 comments on commit 0ebf5a7

Please sign in to comment.