E-slam commited on
Commit
feef772
·
verified ·
1 Parent(s): 9043487

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -22,12 +22,9 @@ COPY . .
22
  # Set the working directory to /code
23
  WORKDIR /code
24
 
25
- # Set the environment variable directly in the Dockerfile
26
- ENV GH_TOKEN=${gh_token}
27
-
28
  # Use a shell script to perform the git clone operation
29
- RUN echo "export GH_TOKEN=${GH_TOKEN}" > clone_repo.sh && \
30
- echo "git clone https://\${GH_TOKEN}@github.com/Eslam-Magdy-1297/ESearch_FletV01.git /code/ESearch_FletV01" >> clone_repo.sh && \
31
  chmod +x clone_repo.sh && \
32
  ./clone_repo.sh
33
 
 
22
  # Set the working directory to /code
23
  WORKDIR /code
24
 
 
 
 
25
  # Use a shell script to perform the git clone operation
26
+ RUN echo "export gh_token=${gh_token}" > clone_repo.sh && \
27
+ echo "git clone https://\${gh_token}@github.com/Eslam-Magdy-1297/ESearch_FletV01.git /code/ESearch_FletV01" >> clone_repo.sh && \
28
  chmod +x clone_repo.sh && \
29
  ./clone_repo.sh
30