12 lines
291 B
Docker
12 lines
291 B
Docker
FROM node:10
|
|
RUN apt update
|
|
RUN apt install -y 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
|
|
WORKDIR /cyp
|
|
COPY package.json .
|
|
RUN npm i
|
|
COPY index.js .
|
|
COPY app ./app
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["node", "."]
|