Spaces:
Running
Running
FROM python:3.9-slim | |
WORKDIR /app | |
COPY . . | |
# Create uploads directory with proper permissions | |
RUN mkdir -p static/uploads && chmod 777 static/uploads | |
RUN pip install --no-cache-dir -r requirements.txt | |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |