deepak191z commited on
Commit
30a92d6
·
verified ·
1 Parent(s): 0dedc8f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -10,9 +10,11 @@ USER user
10
  WORKDIR /app
11
 
12
  # Receive Git URL from build argument
13
- ARG GIT_REP
 
 
14
  RUN echo "Cloning repository: ${GIT_REP}" && \
15
- git clone https://github.com/viratxd/fastn8n.git /app/fastn8n
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