Making a change to try to solve the 'no data folder found' issue

This commit is contained in:
Bradley Bickford 2025-01-10 19:03:52 -05:00
parent 0594e2a2f9
commit 3ac666e33d

View File

@ -18,15 +18,14 @@ RUN curl -fsSL "${XRC_DL_URL}" -o /tmp/xrc.zip \
&& find /home/xrc -exec chown xrc:xrc {} \; \ && find /home/xrc -exec chown xrc:xrc {} \; \
&& find /home/xrc -type d -exec chmod 750 {} \; \ && find /home/xrc -type d -exec chmod 750 {} \; \
&& find /home/xrc -type f -exec chmod 640 {} \; \ && find /home/xrc -type f -exec chmod 640 {} \; \
&& chmod 750 "/home/xrc/xrc/xRC Simulator.x86_64" \ && chmod 750 "/home/xrc/xrc/xRC Simulator.x86_64"
&& mv "/home/xrc/xrc/xRC Simulator.x86_64" "/home/xrc/xrc/xrc"
EXPOSE 11115 EXPOSE 11115
USER xrc USER xrc
ENV USER=xrc ENV USER=xrc
WORKDIR /home/xrc/xrc WORKDIR /home/xrc/xrc
ENTRYPOINT ./xrc -batchmode -nographics RouterPort=11115 Port=11115 game=${GAME:-19} \ ENTRYPOINT "./xRC Simulator.x86_64" -batchmode -nographics RouterPort=11115 Port=11115 game=${GAME:-19} \
FrameRate=${FRAMERATE:-60} tmode=${TMODE:-"On"} register=${REGISTER:-"Off"} \ FrameRate=${FRAMERATE:-60} tmode=${TMODE:-"On"} register=${REGISTER:-"Off"} \
Spectators=${SPECTATORS:-2} minplayers=${MINPLAYERS:-2} updatetime=${UPDATETIME:-25} \ Spectators=${SPECTATORS:-2} minplayers=${MINPLAYERS:-2} updatetime=${UPDATETIME:-25} \
maxdata=${MAXDATA:-99000} startwhenready=${STARTWHENREADY:-"On"} comment=${COMMENT:-"REEFSCAPE"} \ maxdata=${MAXDATA:-99000} startwhenready=${STARTWHENREADY:-"On"} comment=${COMMENT:-"REEFSCAPE"} \