Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
-
#
|
| 11 |
-
RUN git
|
| 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
|