docker
This commit is contained in:
parent
d2566ba184
commit
bf3543d47f
1 changed files with 24 additions and 0 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue