Skip to content

Commit 73cb655

Browse files
committed
Enhance Dockerfile: Include executables in the package copy from builder stage
1 parent 3921ff8 commit 73cb655

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ FROM base AS runtime
2929
# Create non-root user for security
3030
RUN groupadd -r appuser && useradd -r -g appuser appuser
3131

32-
# Copy installed packages from builder
32+
# Copy installed packages and executables from builder
3333
COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages
34+
COPY --from=builder /usr/local/bin /usr/local/bin
3435

3536
# Copy application code
3637
COPY app /app/app

0 commit comments

Comments
 (0)