Skip to content

Commit 648a876

Browse files
committed
chatgepeto fix
1 parent b1d8b82 commit 648a876

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

  • kubernetes/dedicated-servers/darkMessiah
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
FROM cm2network/steamcmd:latest
22

3+
# Copiamos el script de arranque como root
34
USER root
45
WORKDIR /home/steam
56

6-
# 2. Descarga el servidor dedicado (Windows)
7-
RUN steamcmd +login anonymous \
8-
+force_install_dir /home/steam/dm_srv \
9-
+app_update 2145 validate \
10-
+quit
7+
# Descarga el servidor dedicado Windows para Dark Messiah
8+
RUN /home/steam/steamcmd/steamcmd.sh \
9+
+@sSteamCmdForcePlatformType windows \
10+
+login anonymous \
11+
+force_install_dir /home/steam/dm_srv \
12+
+app_update 2145 validate \
13+
+quit
1114

12-
# 3. Copia el script de arranque, asignándolo al usuario steam
15+
# Copiamos start.sh y se lo damos al usuario steam
1316
COPY --chown=steam:steam start.sh .
1417

15-
# 4. Volvemos a steam useer
18+
# Cambiamos al usuario steam y lanzamos
1619
USER steam
17-
ENTRYPOINT ["bash", "start.sh"]
20+
ENTRYPOINT ["bash", "start.sh"]

0 commit comments

Comments
 (0)