File size: 264 Bytes
be66c53
 
29ccfe0
be66c53
a8a4d60
 
 
29ccfe0
b9512ef
29ccfe0
09498b1
a8a4d60
be66c53
9f36279
43a01a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.9

WORKDIR /app

RUN mkdir /app/.cache
RUN chmod -R 777 /app/.cache
ENV HF_HOME=/app/.cache

COPY ./requirements.txt /app
RUN pip install -r requirements.txt

COPY ./app.py /app

EXPOSE 7860
CMD ["flask", "run" ,"--host", "0.0.0.0", "--port", "7860"]