Spaces:
Sleeping
Sleeping
File size: 323 Bytes
d9b0d80 551af34 d9b0d80 551af34 d9b0d80 551af34 d9b0d80 551af34 d9b0d80 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | FROM python:3.12-slim
# Set directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files
COPY . .
#permissions
RUN chmod -R 777 /app
# HF port
EXPOSE 7860
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860", "--timeout", "120"] |