Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -9,11 +9,11 @@ ENV UV_COMPILE_BYTECODE=1 \
|
|
9 |
RUN groupadd vocalizr && \
|
10 |
useradd --gid vocalizr --shell /bin/bash --create-home vocalizr
|
11 |
|
12 |
-
#
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
|
18 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
19 |
|
@@ -37,6 +37,4 @@ USER vocalizr
|
|
37 |
|
38 |
EXPOSE ${GRADIO_SERVER_PORT}
|
39 |
|
40 |
-
ENTRYPOINT [ ]
|
41 |
-
|
42 |
CMD ["python", "vocalizr"]
|
|
|
9 |
RUN groupadd vocalizr && \
|
10 |
useradd --gid vocalizr --shell /bin/bash --create-home vocalizr
|
11 |
|
12 |
+
# skipcq: DOK-DL3008
|
13 |
+
RUN apt-get update && \
|
14 |
+
apt-get install -qq -y --no-install-recommends espeak-ng && \
|
15 |
+
apt-get clean && \
|
16 |
+
rm -rf /var/lib/apt/lists/*
|
17 |
|
18 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
19 |
|
|
|
37 |
|
38 |
EXPOSE ${GRADIO_SERVER_PORT}
|
39 |
|
|
|
|
|
40 |
CMD ["python", "vocalizr"]
|