leonsimon23 commited on
Commit
eaf1a7c
·
verified ·
1 Parent(s): a89805b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -7,11 +7,8 @@ WORKDIR /app
7
  # Install git
8
  RUN apt-get update && apt-get install -y git
9
 
10
- # Access the secret directly from the environment variable
11
- RUN git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
12
-
13
- # Clone your private repository
14
- RUN git clone https://github.com/leoncool23/sci_xg_classify.git .
15
 
16
  # Install dependencies
17
  RUN pip install -r requirements.txt
 
7
  # Install git
8
  RUN apt-get update && apt-get install -y git
9
 
10
+ # Clone your private repository using the GITHUB_TOKEN environment variable
11
+ RUN git clone https://x-access-token:${GITHUB_TOKEN}@github.com/leoncool23/sci_xg_classify.git .
 
 
 
12
 
13
  # Install dependencies
14
  RUN pip install -r requirements.txt