Skip to content

Commit

Permalink
feat: add production-ready server
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Dec 30, 2023
1 parent 3fc2551 commit b87a07d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ENV FLASK_APP=bereal.server

EXPOSE 5000

CMD ["python", "-m", "bereal.server"]
CMD ["gunicorn", "-w", "4", "bereal.server:app"]
1 change: 1 addition & 0 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
gunicorn
-r common.txt

0 comments on commit b87a07d

Please sign in to comment.