Spaces:
Runtime error
Runtime error
Commit
·
dcf9b38
1
Parent(s):
1c8287d
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM debian:latest
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
RUN apt update
|
| 8 |
|
|
@@ -10,6 +10,6 @@ RUN apt install ffmpeg python3 python3-pip -y
|
|
| 10 |
|
| 11 |
WORKDIR /
|
| 12 |
|
| 13 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
CMD ["python3", "app.py"]
|
|
|
|
| 1 |
FROM debian:latest
|
| 2 |
|
| 3 |
+
COPY . /app
|
| 4 |
|
| 5 |
+
WORKDIR /app
|
| 6 |
|
| 7 |
RUN apt update
|
| 8 |
|
|
|
|
| 10 |
|
| 11 |
WORKDIR /
|
| 12 |
|
| 13 |
+
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 14 |
|
| 15 |
CMD ["python3", "app.py"]
|