Spaces:
Sleeping

App / Dockerfile
Harshalll007's picture
Upload 6 files
551af34 verified
Raw History Blame Contribute Delete
323 Bytes
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"]