Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
@@ -2,14 +2,10 @@ FROM cgr.dev/chainguard/wolfi-base:latest@sha256:1fd981aa0bcefd8da87ce55a9ae9078
|
|
2 |
|
3 |
ENV GRADIO_SERVER_PORT=7860 \
|
4 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
5 |
-
FASTEMBED_CACHE_PATH=/home/nonroot/fastembed
|
6 |
-
PATH=/home/nonroot/.local/bin:$PATH
|
7 |
-
|
8 |
-
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:67b2bcccdc103d608727d1b577e58008ef810f751ed324715eb60b3f0c040d30 \
|
9 |
-
/uv /uvx /usr/bin/
|
10 |
|
11 |
# skipcq: DOK-DL3018
|
12 |
-
RUN apk add --no-cache curl libstdc++
|
13 |
|
14 |
# USER nonroot
|
15 |
|
|
|
2 |
|
3 |
ENV GRADIO_SERVER_PORT=7860 \
|
4 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
5 |
+
FASTEMBED_CACHE_PATH=/home/nonroot/fastembed
|
|
|
|
|
|
|
|
|
6 |
|
7 |
# skipcq: DOK-DL3018
|
8 |
+
RUN apk add --no-cache curl libstdc++ uv
|
9 |
|
10 |
# USER nonroot
|
11 |
|