Skip to content

Commit cca9365

Browse files
committed
Update Dockerfile
1 parent 38aedc5 commit cca9365

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,14 @@ ENV GAME_PARAMS="+game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2"
1616
RUN mkdir $DATA_DIR
1717
RUN mkdir $STEAMCMD_DIR
1818
RUN mkdir $SERVER_DIR
19-
RUN groupadd -r steam && useradd -r -g steam steamcmd-d
20-
RUN chown -R steamcmd-d:steam $DATA_DIR
2119

2220
EXPOSE 1200/udp
2321
EXPOSE 27000-27045/udp
2422
EXPOSE 27000-27045
2523
VOLUME [${STEAMCMD_DIR}]
2624

2725
ADD /scripts/ /opt/scripts/
28-
RUN chown -R steamcmd-d:steam //opt/scripts/
2926
RUN chmod -R 774 /opt/scripts/
3027

31-
USER steamcmd-d
32-
3328
#Server Start
3429
ENTRYPOINT ["/opt/scripts/start-csgo.sh"]

0 commit comments

Comments
 (0)