Skip to content

Commit

Permalink
Remove the build-base package before running yarn install to reduce c…
Browse files Browse the repository at this point in the history
…ontainer size and because we should avoid packages that need to be compiled to stay cross platform
  • Loading branch information
rseanhall committed Oct 3, 2024
1 parent f4e5413 commit 4ff573e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RUN apk --no-cache add \
libxml2-dev \
libxslt-dev \
cmd:pip3 \
ffmpeg
RUN pip3 install --break-system-packages wheel streamlink==6.11.*
ffmpeg \
&& pip3 install --break-system-packages wheel streamlink==6.11.* \
&& apk --no-cache del build-base

WORKDIR /app/
COPY package.json /app/
Expand Down

0 comments on commit 4ff573e

Please sign in to comment.