14 lines
328 B
Docker
14 lines
328 B
Docker
FROM node:alpine
|
|
|
|
RUN apk add --no-cache python3
|
|
|
|
RUN mkdir -p /usr/src/preservetube/backend
|
|
WORKDIR /usr/src/preservetube/backend
|
|
|
|
COPY . /usr/src/preservetube/backend
|
|
RUN yarn
|
|
|
|
RUN wget https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.03.08.232718/yt-dlp -q
|
|
RUN chmod +x yt-dlp
|
|
|
|
CMD ["node", "index.js"] |