Kaynağa Gözat

Fixing missing logs

Penta 1 hafta önce
ebeveyn
işleme
c838683e14
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -76,4 +76,4 @@ ENV PORT="27015"
 ENV ARGS=""
 
 # START THE SERVER
-CMD ["/bin/bash","-lc","exec /app/server/srcds_linux -console -nobreakpad -usercon -debug -dev -game garrysmod -strictportbind -port ${PORT} -maxplayers ${MAXPLAYERS} +gamemode ${GAMEMODE} +map ${MAP} ${ARGS}"]
+CMD ["/bin/bash","-lc","touch /app/server/garrysmod/console.log && tail -F /app/server/garrysmod/console.log & exec /app/server/srcds_linux -game garrysmod -console -strictportbind -port ${PORT} -maxplayers ${MAXPLAYERS} +gamemode ${GAMEMODE} +map ${MAP} ${ARGS}"]