E-slam commited on
Commit
9be2481
·
verified ·
1 Parent(s): 49e0c15

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -16,9 +16,11 @@ RUN chown -R appuser:appuser /code
16
  # Switch to the new user
17
  USER appuser
18
 
19
- # Clone the repository during the build process
20
  ARG GH_TOKEN
21
- RUN git clone https://${GH_TOKEN}@github.com/Eslam-Magdy-1297/ESearch_FletV01.git /code/ESearch_FletV01
 
 
22
 
23
  # Set the working directory to the cloned repository
24
  WORKDIR /code/ESearch_FletV01
 
16
  # Switch to the new user
17
  USER appuser
18
 
19
+ # Pass the GitHub token as a build argument
20
  ARG GH_TOKEN
21
+
22
+ # Clone the repository during the build process
23
+ RUN git clone https://[email protected]/Eslam-Magdy-1297/ESearch_FletV01.git /code/ESearch_FletV01
24
 
25
  # Set the working directory to the cloned repository
26
  WORKDIR /code/ESearch_FletV01