Moved frontend out of webserver into it's own container

This commit is contained in:
2025-01-23 11:28:53 +00:00
parent e826311c34
commit c0674c58b4
50 changed files with 41 additions and 12 deletions

View File

@@ -19,8 +19,8 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Set environment variables
ENV FLASK_APP=backend.blueprints.__init__
ENV FLASK_APP=blueprints.__init__
ENV FLASK_DEBUG=True
# Start the Flask app
CMD ["gunicorn", "-b", "0.0.0.0:5000", "backend.blueprints.__init__:create_app()"]
CMD ["gunicorn", "-b", "0.0.0.0:5000", "blueprints.__init__:create_app()"]