cyp/Dockerfile

12 lines
273 B
Text
Raw Normal View History

2019-10-28 18:41:14 +08:00
FROM node:10
2020-03-16 06:24:35 +08:00
RUN apt install jq
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl \
&& 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", "."]