Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -20,7 +20,7 @@ RUN chmod +x /home/create_languagepacks.sh
|
|
| 20 |
# 配置git自动提交
|
| 21 |
COPY autocommit.sh /usr/scripts/autocommit.sh
|
| 22 |
RUN chmod +x /usr/scripts/autocommit.sh
|
| 23 |
-
RUN echo "
|
| 24 |
RUN chmod 0644 /etc/cron.d/autocommit-cron
|
| 25 |
|
| 26 |
# 设置工作目录和用户
|
|
|
|
| 20 |
# 配置git自动提交
|
| 21 |
COPY autocommit.sh /usr/scripts/autocommit.sh
|
| 22 |
RUN chmod +x /usr/scripts/autocommit.sh
|
| 23 |
+
RUN echo "0 0,6,12,18 * * * root /bin/bash /usr/scripts/autocommit.sh" > /etc/cron.d/autocommit-cron
|
| 24 |
RUN chmod 0644 /etc/cron.d/autocommit-cron
|
| 25 |
|
| 26 |
# 设置工作目录和用户
|