This commit is contained in:
John Edwards 2023-10-01 10:48:00 +01:00
parent a8f5135f94
commit 7e38874c39
2 changed files with 8 additions and 2 deletions

View file

@ -40,6 +40,12 @@ ENV CS2_PORT=27015 \
CS2_GAMEMODE=0 \
CS2_ADDITIONAL_ARGS=""
# Set permissions on STEAMAPPDIR
# Permissions may need to be reset if persistent volume mounted
RUN set -x \
&& chown -R "${USER}:${USER}" "${STEAMAPPDIR}" \
&& chmod 0777 "${STEAMAPPDIR}"
# Switch to user
USER ${USER}