Skip to content

Commit

Permalink
refactor: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jim60105 authored Nov 23, 2023
1 parent 3fe49fd commit 916d630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ COPY --link --from=mwader/static-ffmpeg:6.0 /ffprobe /usr/local/bin/
COPY --link --from=dependencies /venv /venv
ARG PATH="/venv/bin:$PATH"
ENV PATH=${PATH}

# Missing dependencies for arm64
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
apt-get install -y --no-install-recommends libgomp1 libsndfile1; \
fi

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

0 comments on commit 916d630

Please sign in to comment.