jeff-downloader/Dockerfile

27 lines
422 B
Docker
Raw Normal View History

2021-05-18 20:23:18 +02:00
# My first docker hope it isn't too bad :)
FROM node:14
WORKDIR /var/www/jeffdownloader/
RUN git clone https://git.namejeff.xyz/Supositware/jeff-downloader.git .
RUN git checkout progress
2021-06-12 16:27:56 +02:00
RUN git log -1 --format=%h
2021-05-18 20:23:18 +02:00
RUN npm install
RUN npm i -g pm2
RUN echo "[]" > proxy/proxy.json
2021-05-20 00:02:57 +02:00
ENV NODE_ENV=production
2021-05-18 20:23:18 +02:00
2021-05-20 00:02:57 +02:00
ENV PORT=3333
2021-05-18 20:23:18 +02:00
RUN apt-get update && apt-get install -y ffmpeg
EXPOSE 3333
2021-05-20 00:02:57 +02:00
CMD ["pm2-runtime", "bin/www"]