Spaces:
Sleeping
Sleeping
File size: 265 Bytes
be66c53 29ccfe0 be66c53 29ccfe0 b9512ef 29ccfe0 09498b1 b0e2964 6572bba 40bf747 be66c53 9f36279 43a01a7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.9
WORKDIR /app
COPY ./app.py /app
COPY ./requirements.txt /app
RUN pip install -r requirements.txt
RUN mkdir /app/.cache
RUN chmod -R 777 /app/.cache
ENV HF_HOME=/app/.cache
EXPOSE 7860
CMD ["flask", "run" ,"--host", "0.0.0.0", "--port", "7860"] |