Update Dockerfile

This commit is contained in:
Loïc Bersier 2020-08-28 03:24:51 +00:00
parent 97792466ca
commit 585117c47f

View file

@ -7,14 +7,12 @@ RUN git clone https://gitlab.com/LoicBersier/jeff-downloader.git .
RUN npm install
RUN npm i -g @adonisjs/cli
RUN npm i -g pm2
RUN cp .env.example .env
RUN echo "[]" > proxy/proxy.json
RUN adonis key:generate
EXPOSE 3333
CMD ["adonis", "serve"]
CMD ["pm2-runtime", "server.js"]