Skip to content

Commit

Permalink
fix: ERROR: invalid user index: -1
Browse files Browse the repository at this point in the history
  • Loading branch information
jim60105 committed Aug 27, 2023
1 parent 92b9e9d commit 2a8e1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ RUN python load_align_model.py ${LANG}
FROM base AS final

# Install whisperX
COPY --link ./whisperX/ .
COPY ./whisperX/ .
RUN python3 -m pip install --no-cache-dir .

# Non-root user
RUN useradd -m -s /bin/bash appuser
USER appuser

COPY --link --chown=appuser --from=load_model /cache /cache
COPY --chown=appuser --from=load_model /cache /cache

ARG WHISPER_MODEL
ENV WHISPER_MODEL=${WHISPER_MODEL}
Expand Down

0 comments on commit 2a8e1e0

Please sign in to comment.