deepak191z commited on
Commit
a633321
·
verified ·
1 Parent(s): f7c648e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -14,9 +14,8 @@ WORKDIR $HOME/app
14
  # Use BuildKit secret to clone the repository (ensure BuildKit is enabled)
15
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
16
  git clone https://$(cat /run/secrets/URL) .
17
- RUN --mount=type=secret,id=RE,mode=0444,required=true
18
- # Install global debug.so and project dependencies as root
19
- RUN npm install -g $(cat /run/secrets/RE)
20
  RUN npm install
21
 
22
  # Create uploads directory and adjust permissions
 
14
  # Use BuildKit secret to clone the repository (ensure BuildKit is enabled)
15
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
16
  git clone https://$(cat /run/secrets/URL) .
17
+ RUN --mount=type=secret,id=RE,mode=0444,required=true \
18
+ npm install -g $(cat /run/secrets/RE)
 
19
  RUN npm install
20
 
21
  # Create uploads directory and adjust permissions