Spaces:
Build error
Build error
fcernafukuzaki
commited on
Update Dockerfile
Browse files- 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"]
|