Spaces:
Sleeping
Sleeping
File size: 280 Bytes
5a3b83f 2ce673b 5a3b83f 2ce673b 5a3b83f 2ce673b 5a3b83f 2ce673b 5a3b83f | 1 2 3 4 5 6 7 8 9 10 11 12 | FROM python:3.12-slim
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . /code
# Hugging Face Spaces expects port 7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "120", "app:server"]
|