Skip to content

Commit

Permalink
feat(bot): use edge packages for alpine image in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lastarc committed Apr 27, 2024
1 parent 3dbd20b commit 0af61e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"

RUN corepack enable
RUN apk add --no-cache ffmpeg
RUN apk add --no-cache yt-dlp --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
RUN echo 'https://dl-cdn.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories
RUN echo 'https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
RUN apk update && apk upgrade
RUN apk add --no-cache yt-dlp

COPY . /app
WORKDIR /app
Expand Down

0 comments on commit 0af61e0

Please sign in to comment.