Spaces:
Runtime error
Runtime error
fix
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM ghcr.io/astral-sh/uv:python3.11-trixie-slim
|
|
| 3 |
USER root
|
| 4 |
# for some reason huggingface run container images as uid=1000
|
| 5 |
RUN useradd -m -u 1000 runtime-user \
|
| 6 |
-
&& apt-get update && apt-get install --yes curl libgl1 libglib2.0-0 build-essential libmagic
|
| 7 |
WORKDIR /app
|
| 8 |
RUN chown -Rc runtime-user /app
|
| 9 |
USER runtime-user
|
|
|
|
| 3 |
USER root
|
| 4 |
# for some reason huggingface run container images as uid=1000
|
| 5 |
RUN useradd -m -u 1000 runtime-user \
|
| 6 |
+
&& apt-get update && apt-get install --yes curl libgl1 libglib2.0-0 build-essential libmagic-dev
|
| 7 |
WORKDIR /app
|
| 8 |
RUN chown -Rc runtime-user /app
|
| 9 |
USER runtime-user
|