FROM node:10 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 WORKDIR /cyp COPY package.json . RUN npm i COPY index.js . COPY app ./app EXPOSE 8080 ENTRYPOINT ["node", "."]