

don't install opentelemetry deps in docker image
@09928486a0a57e78d1caa0b9f38e2f6e9b84122d
--- Dockerfile
+++ Dockerfile
... | ... | @@ -1,4 +1,5 @@ |
1 | 1 |
ARG BASE_IMAGE=nvidia/cuda:12.6.3-cudnn-runtime-ubuntu24.04 |
2 |
+# hadolint ignore=DL3006 |
|
2 | 3 |
FROM ${BASE_IMAGE} |
3 | 4 |
LABEL org.opencontainers.image.source="https://github.com/fedirz/faster-whisper-server" |
4 | 5 |
# `ffmpeg` is installed because without it `gradio` won't work with mp3(possible others as well) files |
... | ... | @@ -20,9 +21,9 @@ |
20 | 21 |
uv sync --frozen --compile-bytecode --no-install-project |
21 | 22 |
COPY --chown=ubuntu ./src ./pyproject.toml ./uv.lock ./ |
22 | 23 |
RUN --mount=type=cache,target=/root/.cache/uv \ |
23 |
- uv sync --frozen --compile-bytecode --extra ui --extra opentelemetry |
|
24 |
+ uv sync --frozen --compile-bytecode --extra ui |
|
24 | 25 |
ENV WHISPER__MODEL=Systran/faster-whisper-large-v3 |
25 | 26 |
ENV UVICORN_HOST=0.0.0.0 |
26 | 27 |
ENV UVICORN_PORT=8000 |
27 | 28 |
EXPOSE 8000 |
28 |
-CMD ["uv", "run", "opentelemetry-instrument", "uvicorn", "--factory", "faster_whisper_server.main:create_app"] |
|
29 |
+CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"] |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?