Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -42,7 +42,7 @@ RUN --mount=type=secret,id=GH_TOKEN,mode=0444,required=true \
|
|
| 42 |
--mount=type=secret,id=GH_EMAIL,mode=0444,required=true \
|
| 43 |
git config --global user.name $(cat /run/secrets/GH_USERNAME) && \
|
| 44 |
git config --global user.email $(cat /run/secrets/GH_EMAIL) && \
|
| 45 |
-
git clone https://$(cat /run/secrets/GH_TOKEN)@github.com/$(cat /run/secrets/GH_USERNAME)/$(cat /run/secrets/REPO_NAME).git /home/cpp_competition
|
| 46 |
|
| 47 |
RUN echo "#!/bin/bash \n \
|
| 48 |
cron -n & \
|
|
|
|
| 42 |
--mount=type=secret,id=GH_EMAIL,mode=0444,required=true \
|
| 43 |
git config --global user.name $(cat /run/secrets/GH_USERNAME) && \
|
| 44 |
git config --global user.email $(cat /run/secrets/GH_EMAIL) && \
|
| 45 |
+
git clone -b main https://$(cat /run/secrets/GH_TOKEN)@github.com/$(cat /run/secrets/GH_USERNAME)/$(cat /run/secrets/REPO_NAME).git /home/cpp_competition
|
| 46 |
|
| 47 |
RUN echo "#!/bin/bash \n \
|
| 48 |
cron -n & \
|