Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -13
Dockerfile
CHANGED
|
@@ -8,16 +8,4 @@ COPY . /app
|
|
| 8 |
|
| 9 |
RUN chmod -R 777 /app
|
| 10 |
|
| 11 |
-
WORKDIR /app
|
| 12 |
-
|
| 13 |
-
RUN apt-get update && apt-get install -y ffmpeg python3 python3-pip python3-venv
|
| 14 |
-
|
| 15 |
-
RUN python3 -m venv /app/venv
|
| 16 |
-
|
| 17 |
-
RUN /app/venv/bin/pip install watchdog
|
| 18 |
-
RUN /app/venv/bin/pip install uvicorn
|
| 19 |
-
RUN /app/venv/bin/pip install fastapi
|
| 20 |
-
|
| 21 |
-
COPY stream_videos.py /app/stream_videos.py
|
| 22 |
-
|
| 23 |
-
CMD ["/app/venv/bin/python", "/app/stream_videos.py"]
|
|
|
|
| 8 |
|
| 9 |
RUN chmod -R 777 /app
|
| 10 |
|
| 11 |
+
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|