fixed the Dockerfile, aperently the server has to be installed at runtime and there was also an issue with permissions which can be fixed by manually creating the direcotry data with the correct permissions. If you dont do this it will install in the default directory.

There is currently an issue with the server crashing everytime i try to join, no idea why it happens...
This commit is contained in:
bacalhau 2025-11-04 12:00:59 +00:00
parent 2084cfdf92
commit a7001cbac7
2 changed files with 17 additions and 33 deletions

View file

@ -4,8 +4,11 @@ services:
counter-strike:
build: .
container_name: counter-strike
stop_signal: SIGKILL
ports:
- "27016:27015/udp"
- "27016:27016/udp"
environment:
- PORT=27016
volumes:
- ./data:/data
restart: always