mirror of
https://codeberg.org/spire/docker-tf2-server.git
synced 2026-06-03 09:54:20 +02:00
Fix dockerfile
Env vars are impossible to use in entrypoint, use local path in entrypoint, specify workdir using env var
This commit is contained in:
parent
b6d33eae36
commit
3db1cb7195
1 changed files with 2 additions and 1 deletions
|
|
@ -24,5 +24,6 @@ run $SERVER/update.sh
|
|||
|
||||
expose 27015/udp
|
||||
|
||||
entrypoint ["/home/$USER/hlserver/tf.sh"]
|
||||
workdir /home/$USER/hlserver
|
||||
entrypoint ["./tf.sh"]
|
||||
cmd ["+sv_pure", "1", "+mapcycle", "mapcycle_quickplay_payload.txt", "+map", "pl_badwater", "+maxplayers", "24"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue