Docker??!!?!??!??!?!!??!?!?!?!?!?!?!?!?!?!?!
This commit is contained in:
parent
95ef53fae0
commit
13256850d9
1 changed files with 20 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# My first docker hope it isn't too bad :)
|
||||||
|
FROM node:12
|
||||||
|
|
||||||
|
WORKDIR /var/www/jeffdownloader/
|
||||||
|
|
||||||
|
RUN git clone https://gitlab.com/LoicBersier/jeff-downloader.git .
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
RUN npm i -g @adonisjs/cli
|
||||||
|
|
||||||
|
RUN cp .env.example .env
|
||||||
|
|
||||||
|
RUN echo "[]" > proxy/proxy.json
|
||||||
|
|
||||||
|
RUN adonis key:generate
|
||||||
|
|
||||||
|
EXPOSE 3333
|
||||||
|
|
||||||
|
CMD ["adonis", "serve"]
|
Loading…
Reference in a new issue