We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38aedc5 commit cca9365Copy full SHA for cca9365
Dockerfile
@@ -16,19 +16,14 @@ ENV GAME_PARAMS="+game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2"
16
RUN mkdir $DATA_DIR
17
RUN mkdir $STEAMCMD_DIR
18
RUN mkdir $SERVER_DIR
19
-RUN groupadd -r steam && useradd -r -g steam steamcmd-d
20
-RUN chown -R steamcmd-d:steam $DATA_DIR
21
22
EXPOSE 1200/udp
23
EXPOSE 27000-27045/udp
24
EXPOSE 27000-27045
25
VOLUME [${STEAMCMD_DIR}]
26
27
ADD /scripts/ /opt/scripts/
28
-RUN chown -R steamcmd-d:steam //opt/scripts/
29
RUN chmod -R 774 /opt/scripts/
30
31
-USER steamcmd-d
32
-
33
#Server Start
34
ENTRYPOINT ["/opt/scripts/start-csgo.sh"]
0 commit comments