fcernafukuzaki commited on
Commit
c9093a6
·
verified ·
1 Parent(s): a3df46f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -13,6 +13,10 @@ RUN pip install -r requirements.txt -q
13
 
14
  WORKDIR /content
15
 
 
 
 
 
16
  COPY . .
17
 
18
  ENTRYPOINT ["python", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
 
13
 
14
  WORKDIR /content
15
 
16
+ COPY ./requirements.txt /code/requirements.txt
17
+
18
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
19
+
20
  COPY . .
21
 
22
  ENTRYPOINT ["python", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]