Fix build et actions
Some checks failed
Build and Push Docker Images / Build Backend Image (push) Failing after 37s
Build and Push Docker Images / Build Frontend Image (push) Has been cancelled

This commit is contained in:
2025-12-23 13:23:07 +01:00
parent 8ec8b1aa42
commit 3e225b158f
8 changed files with 104 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ WORKDIR /app
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
# Copy requirements
COPY requirements.txt .
COPY backend/requirements.txt .
# Install Python dependencies in stages for better caching
# Using versions compatible with Python 3.9
@@ -45,10 +45,11 @@ RUN pip install --no-cache-dir essentia-tensorflow
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY src/ ./src/
COPY alembic.ini .
COPY backend/src/ ./src/
COPY backend/alembic.ini .
COPY src/models/ ./models/
# Copy Essentia models into image (28 MB total)
COPY backend/models/ ./models/
RUN ls -lh /app/models
# Expose port