Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,7 @@ FROM cgr.dev/chainguard/wolfi-base:latest@sha256:7bc3ad6c31262f9556bd2dff1479f7f
|
|
| 3 |
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:a7999d42cba0e5af47ef3c06ac310229c7f29c5314e35902f8353e8e170eeed1 \
|
| 4 |
/uv /uvx /usr/bin/
|
| 5 |
|
|
|
|
| 6 |
RUN apk add --no-cache build-base git
|
| 7 |
|
| 8 |
USER nonroot
|
|
@@ -17,6 +18,7 @@ ENV GRADIO_SERVER_PORT=7860 \
|
|
| 17 |
HF_HOME=/home/nonroot/hf \
|
| 18 |
PATH=/home/nonroot/.local/bin:$PATH
|
| 19 |
|
|
|
|
| 20 |
RUN apk add --no-cache curl libstdc++
|
| 21 |
|
| 22 |
USER nonroot
|
|
|
|
| 3 |
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:a7999d42cba0e5af47ef3c06ac310229c7f29c5314e35902f8353e8e170eeed1 \
|
| 4 |
/uv /uvx /usr/bin/
|
| 5 |
|
| 6 |
+
# skipcq: DOK-DL3018
|
| 7 |
RUN apk add --no-cache build-base git
|
| 8 |
|
| 9 |
USER nonroot
|
|
|
|
| 18 |
HF_HOME=/home/nonroot/hf \
|
| 19 |
PATH=/home/nonroot/.local/bin:$PATH
|
| 20 |
|
| 21 |
+
# skipcq: DOK-DL3018
|
| 22 |
RUN apk add --no-cache curl libstdc++
|
| 23 |
|
| 24 |
USER nonroot
|