Fix build et actions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user