Flask now runs on Gunicorn, and runs through NGinx
This commit is contained in:
@@ -14,8 +14,5 @@ COPY . .
|
||||
ENV FLASK_APP=blueprints.__init__
|
||||
ENV FLASK_DEBUG=True
|
||||
|
||||
# Expose Flask's port
|
||||
EXPOSE 5000
|
||||
|
||||
# Start the Flask app
|
||||
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:5000", "blueprints.__init__:create_app()"]
|
||||
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
flask
|
||||
@@ -18,3 +18,4 @@ typing_extensions==4.12.2
|
||||
urllib3==2.3.0
|
||||
Werkzeug==3.1.3
|
||||
WTForms==3.2.1
|
||||
Gunicorn==20.1.0
|
||||
|
||||
Reference in New Issue
Block a user