fixing backend image
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 17s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 46s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 12s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s

This commit is contained in:
Tudor Sitaru
2026-04-01 15:05:21 +01:00
parent d5f6366c28
commit cacbeeb068

View File

@@ -22,13 +22,10 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code # Copy application code
COPY backend/ ./backend/ COPY backend/ ./backend/
COPY frontend/ ./frontend/
COPY scripts/ ./scripts/ COPY scripts/ ./scripts/
COPY data/ ./data/
# Expose the application port # Expose the application port
EXPOSE 80 EXPOSE 80
# Run the application (using module import) # Run the application (using module import)
CMD ["python", "-m", "uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "80"] CMD ["python", "-m", "uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "80"]