Skip to content

Commit

Permalink
Set group permissions on whispercpp app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcollier committed Jul 17, 2024
1 parent 28ee9a8 commit 1eb78ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions model_servers/whispercpp/base/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ COPY --from=mwader/static-ffmpeg:6.1.1 /ffmpeg /bin/
COPY --from=mwader/static-ffmpeg:6.1.1 /ffprobe /bin/

COPY src /app/

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

ENV AUDIO_FILE=/app/jfk.wav
ENTRYPOINT ["sh", "run.sh"]

0 comments on commit 1eb78ba

Please sign in to comment.