anon5 commited on
Commit
a8a4d60
1 Parent(s): 40bf747

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -2,15 +2,14 @@ FROM python:3.9
2
 
3
  WORKDIR /app
4
 
5
- COPY ./app.py /app
 
 
6
 
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"]
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN mkdir /app/.cache
6
+ RUN chmod -R 777 /app/.cache
7
+ ENV HF_HOME=/app/.cache
8
 
9
  COPY ./requirements.txt /app
10
  RUN pip install -r requirements.txt
11
 
12
+ COPY ./app.py /app
 
 
 
13
 
14
  EXPOSE 7860
15
  CMD ["flask", "run" ,"--host", "0.0.0.0", "--port", "7860"]