update: 由于steamcmd被持久化存储,在容器内部,steam的登录状态无法被保存,所以去掉cron的计划任务,不在实时更新mod

This commit is contained in:
2025-07-25 19:41:02 +08:00
parent 7d732ba128
commit 2013539470
2 changed files with 0 additions and 51 deletions

View File

@@ -18,7 +18,6 @@ RUN apt-get update && apt-get install -y \
libtinfo5 \
libvorbisfile3 \
lib32z1 \
cron \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p ${STEAMCMD_DIR}
@@ -39,8 +38,6 @@ RUN chown -R steam:steam ${STEAMCMD_DIR} && \
chown steam:steam /opt/updatemod.sh && \
chown -R steam:steam /opt/games
RUN touch /etc/cron.d/updatemod
WORKDIR ${STEAMCMD_DIR}
CMD ["/opt/start.sh"]