Skip to content

Commit

Permalink
Use COPY --chown instead
Browse files Browse the repository at this point in the history
Signed-off-by: John Collier <[email protected]>
  • Loading branch information
johnmcollier committed Jul 18, 2024
1 parent d029eba commit 8643398
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions model_servers/whispercpp/base/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ COPY --from=builder /app /app
COPY --from=mwader/static-ffmpeg:6.1.1 /ffmpeg /bin/
COPY --from=mwader/static-ffmpeg:6.1.1 /ffprobe /bin/

COPY src /app/
COPY --chown=0:0 --chmod=755 src /app

RUN chgrp -R 0 /app && chmod -R g=u /app
USER 1001

ENV AUDIO_FILE=/app/jfk.wav
Expand Down

0 comments on commit 8643398

Please sign in to comment.