Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -13,7 +13,7 @@ WORKDIR $HOME/app
|
|
13 |
|
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
|
17 |
|
18 |
# Install global apk-mitm and project dependencies as root
|
19 |
RUN npm install -g apk-mitm
|
|
|
13 |
|
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
|