MH0386 commited on
Commit
4122248
·
verified ·
1 Parent(s): f14a101

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -10,10 +10,7 @@ ENV UV_COMPILE_BYTECODE=1 \
10
 
11
  # skipcq: DOK-DL3008
12
  RUN addgroup vocalizr && \
13
- adduser -D -G vocalizr vocalizr && \
14
- apk update && \
15
- apk add --no-cache espeak-ng ffmpeg && \
16
- rm -rf /var/cache/apk/*
17
 
18
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
19
 
@@ -28,8 +25,12 @@ RUN --mount=type=bind,source=uv.lock,target=uv.lock \
28
  --mount=type=bind,source=.python-version,target=.python-version \
29
  --mount=type=bind,source=README.md,target=README.md \
30
  --mount=type=bind,source=src,target=/home/vocalizr/app/src \
 
 
 
31
  uv export --no-hashes --no-editable --no-dev --quiet -o requirements.txt && \
32
- uv pip install --system -r requirements.txt
 
33
 
34
  RUN chown -R vocalizr:vocalizr /home/vocalizr/app
35
 
 
10
 
11
  # skipcq: DOK-DL3008
12
  RUN addgroup vocalizr && \
13
+ adduser -D -G vocalizr vocalizr
 
 
 
14
 
15
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
16
 
 
25
  --mount=type=bind,source=.python-version,target=.python-version \
26
  --mount=type=bind,source=README.md,target=README.md \
27
  --mount=type=bind,source=src,target=/home/vocalizr/app/src \
28
+ apk update && \
29
+ apk add --no-cache build-base python3-dev linux-headers espeak-ng-dev && \
30
+ apk add --no-cache espeak-ng ffmpeg && \
31
  uv export --no-hashes --no-editable --no-dev --quiet -o requirements.txt && \
32
+ uv pip install --system -r requirements.txt && \
33
+ rm -rf /var/cache/apk/*
34
 
35
  RUN chown -R vocalizr:vocalizr /home/vocalizr/app
36