Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
19 |
-
RUN npm install -g
|
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
|