Browse Source

Fixing missing logs

Penta 1 tuần trước cách đây
mục cha
commit
c838683e14
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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}"]