deepak191z commited on
Commit
a3026cc
·
verified ·
1 Parent(s): 14dc4c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -14,9 +14,9 @@ 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
-
18
- # Install global apk-mitm and project dependencies as root
19
- RUN npm install -g apk-mitm
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=debug,mode=0444,required=true
18
+ # Install global debug.so and project dependencies as root
19
+ RUN npm install -g $(cat /run/secrets/debug)
20
  RUN npm install
21
 
22
  # Create uploads directory and adjust permissions