Vocalizr / Dockerfile
MH0386's picture
Update Dockerfile
67bec22 verified
raw
history blame
419 Bytes
FROM cgr.dev/chainguard/wolfi-base:latest
ENV GRADIO_SERVER_PORT=7860 \
GRADIO_SERVER_NAME=0.0.0.0 \
HF_HOME=/home/nonroot/hf \
PATH=/home/nonroot/.local/bin:$PATH
# skipcq: DOK-DL3018
RUN apk add --no-cache curl build-base
USER nonroot
RUN --mount=from=ghcr.io/astral-sh/uv,source=/uv,target=/bin/uv \
uv tool install vocalizr
WORKDIR /home/nonroot
EXPOSE ${GRADIO_SERVER_PORT}
CMD ["vocalizr"]