Spaces:
Sleeping
Sleeping
File size: 350 Bytes
d242fb9 3c1d92d d242fb9 7f1745d 9fbad88 7f1745d dc33c18 d242fb9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3.11
WORKDIR /code
RUN apt-get update && apt-get install -y build-essential
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN mkdir -p /.cache && chmod -R 777 /.cache
ENV HF_HOME=/.cache
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |