major claude changes
This commit is contained in:
@@ -17,7 +17,8 @@ COPY . .
|
||||
# Tell Docker that the container listens on port 80
|
||||
EXPOSE 80
|
||||
|
||||
# Run the application using Gunicorn
|
||||
# This command runs the Flask app. 'app:app' means "in the file named app.py, run the variable named app".
|
||||
# Adjust if your main file or Flask app variable is named differently.
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:80", "app:app"]
|
||||
# Set Flask app for CLI commands
|
||||
ENV FLASK_APP=app.py
|
||||
|
||||
# Run database migrations and then the application
|
||||
CMD flask db upgrade && gunicorn --bind 0.0.0.0:80 app:app
|
||||
|
||||
Reference in New Issue
Block a user