Spaces:
Runtime error
Runtime error
Updated missing packages for YOLO
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
-
FROM
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
|
|
|
|
7 |
USER user
|
8 |
ENV PATH="/home/user/.local/bin:$PATH"
|
9 |
|
|
|
1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
+
FROM python:3.9
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
+
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
8 |
+
|
9 |
USER user
|
10 |
ENV PATH="/home/user/.local/bin:$PATH"
|
11 |
|