Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:
|
| 2 |
|
| 3 |
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:9874eb7afe5ca16c363fe80b294fe700e460df29a55532bbfea234a0f12eddb1 \
|
| 4 |
/uv /uvx /usr/bin/
|
|
@@ -8,7 +8,7 @@ USER nonroot
|
|
| 8 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
| 9 |
uv tool install chattr
|
| 10 |
|
| 11 |
-
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:
|
| 12 |
|
| 13 |
ENV GRADIO_SERVER_PORT=7860 \
|
| 14 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
|
|
|
| 1 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:5d0f514b76a62a9557abc4d30e19c9eb3f2665f1b8227e96eff7a920e389e08b AS builder
|
| 2 |
|
| 3 |
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:9874eb7afe5ca16c363fe80b294fe700e460df29a55532bbfea234a0f12eddb1 \
|
| 4 |
/uv /uvx /usr/bin/
|
|
|
|
| 8 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
| 9 |
uv tool install chattr
|
| 10 |
|
| 11 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:5d0f514b76a62a9557abc4d30e19c9eb3f2665f1b8227e96eff7a920e389e08b AS production
|
| 12 |
|
| 13 |
ENV GRADIO_SERVER_PORT=7860 \
|
| 14 |
GRADIO_SERVER_NAME=0.0.0.0 \
|