diff --git a/src/Dockerfile b/src/Dockerfile index 96dfb06..10d7113 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -28,8 +28,15 @@ RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \ && echo $TIMEZONE > /etc/timezone \ && chmod +x /entrypoint.sh \ && cd /usr/bin/ \ - && chmod +x conanexiles_controller rconcli steamcmd_setup - + && chmod +x conanexiles_controller rconcli steamcmd_setup \ + # Create steam user and group + && adduser --group --no-create-home --gecos "" steam \ + # Ensure steam user got permission + && mkdir /conanexiles /steamcmd /wine \ + && chown steam /conanexiles /steamcmd /wine + +USER steam + EXPOSE 7777/udp 27015/udp 27016/udp 37015/udp 37016/udp VOLUME ["/conanexiles"]