Skip to content

Commit bf54fea

Browse files
committed
fix Dockerfile
1 parent f08ae06 commit bf54fea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/agents/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ FROM base AS production
3030

3131
WORKDIR /app
3232

33+
COPY --from=builder /install /usr/local
34+
3335
# Remove pip to reduce attack surface in production
3436
RUN pip uninstall -y pip
3537

38+
# Un-privileged user running the application
3639
ARG DOCKER_USER
3740
USER ${DOCKER_USER}
3841

39-
# Un-privileged user running the application
40-
COPY --from=builder /install /usr/local
41-
42-
COPY . .
42+
COPY ./*.py /app/
4343

4444
CMD ["python", "multi_user_transcriber.py", "start"]

0 commit comments

Comments
 (0)