Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:
|
2 |
|
3 |
-
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:
|
4 |
/uv /uvx /usr/bin/
|
5 |
|
6 |
# skipcq: DOK-DL3018
|
@@ -11,7 +11,7 @@ USER nonroot
|
|
11 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
12 |
uv tool install git+https://github.com/AlphaSphereDotAI/chattr
|
13 |
|
14 |
-
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:
|
15 |
|
16 |
ENV GRADIO_SERVER_PORT=7860 \
|
17 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
|
|
1 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:1fd981aa0bcefd8da87ce55a9ae907862fcb6835c658fdb284867117fb0268ce AS builder
|
2 |
|
3 |
+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:67b2bcccdc103d608727d1b577e58008ef810f751ed324715eb60b3f0c040d30 \
|
4 |
/uv /uvx /usr/bin/
|
5 |
|
6 |
# skipcq: DOK-DL3018
|
|
|
11 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
12 |
uv tool install git+https://github.com/AlphaSphereDotAI/chattr
|
13 |
|
14 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:1fd981aa0bcefd8da87ce55a9ae907862fcb6835c658fdb284867117fb0268ce AS production
|
15 |
|
16 |
ENV GRADIO_SERVER_PORT=7860 \
|
17 |
GRADIO_SERVER_NAME=0.0.0.0 \
|