Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
@@ -2,10 +2,15 @@ FROM python:3.8
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY ./
|
|
|
|
|
|
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
|
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
COPY ./dlib-19.22.99-cp38-cp38-win_amd64.whl /code/dlib-19.22.99-cp38-cp38-win_amd64.whl
|
6 |
+
|
7 |
+
RUN pip install dlib-19.22.99-cp38-cp38m-win_amd64.whl
|
8 |
+
|
9 |
+
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
|
14 |
COPY . .
|
15 |
|
16 |
+
CMD ["/code/app.py", "--host", "0.0.0.0", "--port", "7860"]
|