Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
30 |
-
echo "git clone https://\${
|
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 |
|