9 lines
299 B
Docker
9 lines
299 B
Docker
FROM node:lts-alpine
|
|
WORKDIR /data
|
|
COPY . .
|
|
RUN apk add --no-cache ffmpeg python python3 curl wget \
|
|
&& curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl \
|
|
&& chmod a+rx /usr/local/bin/youtube-dl \
|
|
&& npm install --prod
|
|
EXPOSE 10230
|
|
CMD ["npm", "run", "start"] |