backend/Dockerfile

14 lines
318 B
Docker
Raw Normal View History

2023-03-03 16:44:40 +00:00
FROM node:alpine
RUN apk add --no-cache python3
2023-03-03 16:44:40 +00:00
RUN mkdir -p /usr/src/preservetube/backend
WORKDIR /usr/src/preservetube/backend
COPY . /usr/src/preservetube/backend
RUN yarn
RUN wget https://github.com/ytdl-patched/yt-dlp/releases/download/2023.02.28.43044/yt-dlp -q
RUN chmod +x yt-dlp
CMD ["node", "index.js"]