cyp/Dockerfile

11 lines
252 B
Text
Raw Normal View History

2019-10-28 18:41:14 +08:00
FROM node:10
2019-10-29 15:49:04 +08:00
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
RUN chmod a+rx /usr/local/bin/youtube-dl
2019-10-28 18:41:14 +08:00
WORKDIR /cyp
COPY package.json .
RUN npm i
COPY index.js .
COPY app ./app
EXPOSE 8080
2019-10-29 17:02:43 +08:00
ENTRYPOINT ["node", "."]