Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
@@ -1,12 +1,14 @@
|
|
1 |
FROM python:3.8
|
2 |
|
3 |
|
4 |
-
|
5 |
-
|
6 |
|
7 |
|
8 |
RUN pip install -r requirements.txt
|
9 |
-
EXPOSE 7860
|
10 |
|
11 |
-
CMD ["
|
|
|
|
|
|
|
12 |
|
|
|
1 |
FROM python:3.8
|
2 |
|
3 |
|
4 |
+
WORKDIR /workspace
|
5 |
+
ADD . /workspace
|
6 |
|
7 |
|
8 |
RUN pip install -r requirements.txt
|
|
|
9 |
|
10 |
+
CMD [ "python" , "/workspace/app.py" ]
|
11 |
+
|
12 |
+
RUN python app.py -R 7860:7860 /workspace
|
13 |
+
ENV HOME=/workspace
|
14 |
|