This commit is contained in:
supositware 2021-05-18 20:23:18 +02:00
parent d2566ba184
commit bf3543d47f

24
Dockerfile Normal file
View file

@ -0,0 +1,24 @@
# 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
RUN npm install
RUN npm i -g pm2
RUN echo "[]" > proxy/proxy.json
RUN NODE_ENV=production
RUN PORT=3333
RUN apt-get update && apt-get install -y ffmpeg
EXPOSE 3333
CMD ["pm2-runtime", "bin/www"]