Use production config, and resolve issue with postgres url format (Unsure why this only surfaced after recreation of app)
This commit is contained in:
@@ -43,5 +43,9 @@ COPY --from=tailwind-builder /app/app/static/css/tailwind.css ./app/static/css/t
|
||||
# Expose the port Flask will run on
|
||||
EXPOSE 5000
|
||||
|
||||
# Set environment variables
|
||||
ENV FLASK_ENV=production
|
||||
ENV FLASK_CONFIG=ProductionConfig
|
||||
|
||||
# Command to run the Flask app
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:create_app()"]
|
||||
|
||||
Reference in New Issue
Block a user