MH0386 commited on
Commit
5bd1a50
·
verified ·
1 Parent(s): d1d6d0e

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -3,7 +3,8 @@ FROM ghcr.io/astral-sh/uv:debian-slim
3
  # Enable bytecode compilation, Copy from the cache instead of linking since it's a mounted volume
4
  ENV UV_COMPILE_BYTECODE=1 \
5
  UV_LINK_MODE=copy \
6
- UV_CACHE_DIR=/home/nonroot/.cache/uv
 
7
 
8
  RUN groupadd nonroot && \
9
  useradd -g nonroot nonroot && \
@@ -32,4 +33,6 @@ RUN --mount=type=cache,target=${UV_CACHE_DIR} \
32
 
33
  USER nonroot
34
 
 
 
35
  CMD ["uv", "run", "src/vocalizr"]
 
3
  # Enable bytecode compilation, Copy from the cache instead of linking since it's a mounted volume
4
  ENV UV_COMPILE_BYTECODE=1 \
5
  UV_LINK_MODE=copy \
6
+ UV_CACHE_DIR=/home/nonroot/.cache/uv \
7
+ UV_NO_CACHE=1
8
 
9
  RUN groupadd nonroot && \
10
  useradd -g nonroot nonroot && \
 
33
 
34
  USER nonroot
35
 
36
+ ENTRYPOINT [ ]
37
+
38
  CMD ["uv", "run", "src/vocalizr"]