LAST233 commited on
Commit
e78b7b8
·
verified ·
1 Parent(s): b903cdd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -39,7 +39,8 @@ RUN echo '#!/bin/bash\n\
39
  # 1. 启动 frpc (后台运行)\n\
40
  # /usr/local/bin/frpc -f ${FRP_TOKEN} &\n\
41
  # 2. 前台启动 code-server (保持容器运行)\n\
42
- git remote set-url origin https://${GH_TOKEN}@github.com/${GH_USERNAME}/cpp_competition.git \n\
 
43
  exec code-server /home/coder/cpp_competition' > /home/coder/start.sh
44
  RUN chmod +x /home/coder/start.sh
45
 
 
39
  # 1. 启动 frpc (后台运行)\n\
40
  # /usr/local/bin/frpc -f ${FRP_TOKEN} &\n\
41
  # 2. 前台启动 code-server (保持容器运行)\n\
42
+ git remote set-url origin https://${GH_TOKEN}@github.com/${GH_USERNAME}/${HUB_NAME}.git \n\
43
+ git clone https://github.com/${GH_USERNAME}/${HUB_NAME}.git
44
  exec code-server /home/coder/cpp_competition' > /home/coder/start.sh
45
  RUN chmod +x /home/coder/start.sh
46