Spaces:
Runtime error
Runtime error
install libgl1
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,8 @@ RUN --mount=type=cache,uid=57439,gid=57439,target=/opt/conda/pkgs micromamba env
|
|
| 5 |
&& micromamba install -n base --yes curl
|
| 6 |
USER root
|
| 7 |
# for some reason huggingface run container images as uid=1000
|
| 8 |
-
RUN useradd -m -u 1000 runtime-user
|
|
|
|
| 9 |
WORKDIR /app
|
| 10 |
RUN chown -Rc runtime-user /app
|
| 11 |
USER runtime-user
|
|
|
|
| 5 |
&& micromamba install -n base --yes curl
|
| 6 |
USER root
|
| 7 |
# for some reason huggingface run container images as uid=1000
|
| 8 |
+
RUN useradd -m -u 1000 runtime-user \
|
| 9 |
+
&& apt-get install --yes libgl1
|
| 10 |
WORKDIR /app
|
| 11 |
RUN chown -Rc runtime-user /app
|
| 12 |
USER runtime-user
|