Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -39,10 +39,9 @@ RUN /app/venv/bin/pip install -U pip
|
|
| 39 |
RUN /app/venv/bin/pip install watchdog uvicorn fastapi
|
| 40 |
|
| 41 |
# Set environment variables
|
| 42 |
-
ENV PATH="/app/venv/bin:$PATH"
|
| 43 |
RUN DOTNET_ROOT=$(dirname $(readlink $(command -v dotnet))) && \
|
| 44 |
export DOTNET_ROOT && \
|
| 45 |
-
|
| 46 |
|
| 47 |
# Run the application
|
| 48 |
CMD ["/app/venv/bin/python", "/app/stream_videos.py"]
|
|
|
|
| 39 |
RUN /app/venv/bin/pip install watchdog uvicorn fastapi
|
| 40 |
|
| 41 |
# Set environment variables
|
|
|
|
| 42 |
RUN DOTNET_ROOT=$(dirname $(readlink $(command -v dotnet))) && \
|
| 43 |
export DOTNET_ROOT && \
|
| 44 |
+
export PATH="/app/venv/bin:/app/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$DOTNET_ROOT"
|
| 45 |
|
| 46 |
# Run the application
|
| 47 |
CMD ["/app/venv/bin/python", "/app/stream_videos.py"]
|