Skip to content

Commit

Permalink
Merge pull request #18 from KPMP/KPMP-5469_convert-to-wsgi
Browse files Browse the repository at this point in the history
add gunicorn
  • Loading branch information
rlreamy authored Aug 5, 2024
2 parents eed117f + 2e423e5 commit 2e9619a
Show file tree
Hide file tree
Showing 2 changed files with 3 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 ["flask", "run"]
CMD ["gunicorn", "-b", ":5000", "app:app"]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ minio
boto3
flask-cors
mysql-connector-python
requests
requests
gunicorn

0 comments on commit 2e9619a

Please sign in to comment.