LAST233 commited on
Commit
cb83f56
·
verified ·
1 Parent(s): 7aaf919

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -61,7 +61,7 @@ RUN --mount=type=secret,id=GH_TOKEN,mode=0444,required=true \
61
  git config --global user.email $(cat /run/secrets/GH_EMAIL) && \
62
  git clone https://$(cat /run/secrets/GH_TOKEN)@github.com/$(cat /run/secrets/GH_USERNAME)/$(cat /run/secrets/REPO_NAME).git /home/coder/cpp_competition
63
 
64
- RUN echo "#!/bin/bash \n \ /usr/sbin/cron & exec code-server /home/coder/cpp_competition" > /home/coder/start.sh
65
  RUN chmod +x /home/coder/start.sh
66
 
67
  # 暴露端口
 
61
  git config --global user.email $(cat /run/secrets/GH_EMAIL) && \
62
  git clone https://$(cat /run/secrets/GH_TOKEN)@github.com/$(cat /run/secrets/GH_USERNAME)/$(cat /run/secrets/REPO_NAME).git /home/coder/cpp_competition
63
 
64
+ RUN echo "#!/bin/bash \n \cron & exec code-server /home/coder/cpp_competition" > /home/coder/start.sh
65
  RUN chmod +x /home/coder/start.sh
66
 
67
  # 暴露端口