Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -10,9 +10,11 @@ USER user
|
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
# Receive Git URL from build argument
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
RUN echo "Cloning repository: ${GIT_REP}" && \
|
| 15 |
-
git clone https
|
| 16 |
|
| 17 |
WORKDIR /app/fastn8n
|
| 18 |
|
|
|
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
# Receive Git URL from build argument
|
| 13 |
+
|
| 14 |
+
RUN --mount=type=secret,id=GIT_REP,mode=0444,required=true
|
| 15 |
+
|
| 16 |
RUN echo "Cloning repository: ${GIT_REP}" && \
|
| 17 |
+
git clone https://$(cat /run/secrets/GIT_REP) /app/fastn8n
|
| 18 |
|
| 19 |
WORKDIR /app/fastn8n
|
| 20 |
|