Skip to content

Commit 39a680c

Browse files
fix: Copy full source code in speaker-recognition Dockerfile (#243)
Adds COPY src/ src/ step after dependency installation to ensure all source files are available in the Docker image. This improves build caching while ensuring complete source code is present.
1 parent fd61688 commit 39a680c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extras/speaker-recognition/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ COPY src/simple_speaker_recognition/__init__.py src/simple_speaker_recognition/
3131
RUN uv sync --no-dev --extra ${PYTORCH_CUDA_VERSION} && \
3232
uv cache clean
3333

34+
# Copy the full source code (after dependencies are cached)
35+
COPY src/ src/
36+
3437
# Create directories
3538
RUN mkdir -p /app/audio_chunks /app/debug /app/data /models
3639

0 commit comments

Comments
 (0)