Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
-
#
|
20 |
ARG GH_TOKEN
|
21 |
-
|
|
|
|
|
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
|