Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored May 2, 2024
1 parent 8b88d4b commit 2964b9f
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 @@ -5,7 +5,7 @@ ARG PT_VERSION=v6.1.0 \
TARGETARCH

RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates bash git nodejs-current yarn npm && \
apk add --no-cache ca-certificates bash git nodejs yarn npm && \
yarn global add clean-modules && \
git clone --recursive https://github.com/Chocobozzz/PeerTube --branch "$PT_VERSION" /app && \
sed -i "s|gosu|su-exec|g" /app/support/docker/production/entrypoint.sh && \
Expand Down Expand Up @@ -42,7 +42,7 @@ COPY --from=build /app /app
WORKDIR /app

# Install dependencies
RUN apk add --no-cache ca-certificates tzdata tini ffmpeg su-exec shadow nodejs-current && \
RUN apk add --no-cache ca-certificates tzdata tini ffmpeg su-exec shadow nodejs && \
# Add peertube user
groupadd -r peertube && \
useradd -r -g peertube -m peertube && \
Expand Down

0 comments on commit 2964b9f

Please sign in to comment.