Fix: 修复环境变量无法穿透的问题,导致crontab无法正确更新模组
This commit is contained in:
@@ -39,8 +39,7 @@ RUN chown -R steam:steam ${STEAMCMD_DIR} && \
|
||||
chown steam:steam /opt/updatemod.sh && \
|
||||
chown -R steam:steam /opt/games
|
||||
|
||||
# 创建crontab配置文件
|
||||
RUN echo "*/15 * * * * /opt/updatemod.sh >> /var/log/updatemod.log 2>&1" > /etc/cron.d/updatemod
|
||||
RUN touch /etc/cron.d/updatemod
|
||||
|
||||
WORKDIR ${STEAMCMD_DIR}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user