Twan07 commited on
Commit
d05e81c
·
verified ·
1 Parent(s): 60d7af6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -10
Dockerfile CHANGED
@@ -18,16 +18,14 @@ RUN apt-get update && apt-get install -y \
18
  USER node
19
  WORKDIR /home/node/app
20
 
21
- RUN --mount=type=secret,id=REPO,mode=0444,required=true \
22
- git clone $(cat /run/secrets/REPO) .
23
-
24
- RUN npm install
25
- RUN npm install cross-blob
26
- RUN npm i --save-dev @types/busboy
27
-
28
- RUN npm i --save-dev @types/uuid
29
-
30
- RUN npm i --save-dev @types/unidecode
31
 
32
  #COPY --chown=node:node .env .env
33
 
 
18
  USER node
19
  WORKDIR /home/node/app
20
 
21
+ # Clone repo
22
+ RUN git clone $REPO .
23
+
24
+ RUN npm install \
25
+ && npm install cross-blob \
26
+ && npm i --save-dev @types/busboy \
27
+ && npm i --save-dev @types/uuid \
28
+ && npm i --save-dev @types/unidecode
 
 
29
 
30
  #COPY --chown=node:node .env .env
31