Update Dockerfile
This commit is contained in:
parent
97792466ca
commit
585117c47f
1 changed files with 2 additions and 4 deletions
|
@ -7,14 +7,12 @@ RUN git clone https://gitlab.com/LoicBersier/jeff-downloader.git .
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
RUN npm i -g @adonisjs/cli
|
RUN npm i -g pm2
|
||||||
|
|
||||||
RUN cp .env.example .env
|
RUN cp .env.example .env
|
||||||
|
|
||||||
RUN echo "[]" > proxy/proxy.json
|
RUN echo "[]" > proxy/proxy.json
|
||||||
|
|
||||||
RUN adonis key:generate
|
|
||||||
|
|
||||||
EXPOSE 3333
|
EXPOSE 3333
|
||||||
|
|
||||||
CMD ["adonis", "serve"]
|
CMD ["pm2-runtime", "server.js"]
|
||||||
|
|
Loading…
Reference in a new issue