jeff-downloader/Dockerfile

21 lines
350 B
Docker
Raw Normal View History

# My first docker hope it isn't too bad :)
FROM node:12
WORKDIR /var/www/jeffdownloader/
RUN git clone https://gitlab.com/LoicBersier/jeff-downloader.git .
RUN npm install
2020-08-28 05:24:51 +02:00
RUN npm i -g pm2
RUN cp .env.example .env
RUN echo "[]" > proxy/proxy.json
2020-08-30 19:41:21 +02:00
RUN apt-get update && apt-get install -y ffmpeg
EXPOSE 3333
2020-08-28 05:24:51 +02:00
CMD ["pm2-runtime", "server.js"]