Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -7,11 +7,10 @@ COPY ./app.py /app
|
|
7 |
COPY ./requirements.txt /app
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
10 |
-
#RUN chmod -R 777 /.cache
|
11 |
|
12 |
RUN mkdir /app/.cache
|
13 |
-
|
14 |
-
ENV
|
15 |
|
16 |
EXPOSE 7860
|
17 |
CMD ["flask", "run" ,"--host", "0.0.0.0", "--port", "7860"]
|
|
|
7 |
COPY ./requirements.txt /app
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
|
|
10 |
|
11 |
RUN mkdir /app/.cache
|
12 |
+
RUN chmod -R 777 /app/.cache
|
13 |
+
ENV HF_HOME=/app/.cache
|
14 |
|
15 |
EXPOSE 7860
|
16 |
CMD ["flask", "run" ,"--host", "0.0.0.0", "--port", "7860"]
|