Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -9,6 +9,7 @@ WORKDIR /
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
12 |
|
13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
14 |
CMD ["fastapi", "dev", "app.py"]
|
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
+
RUN apt-get update && apt-get install -y libgl1 && apt-get install -y python3-opencv
|
13 |
|
14 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
15 |
CMD ["fastapi", "dev", "app.py"]
|