CM2Walki / TF2

Dockerfile for automated build of a TF2 gameserver: https://hub.docker.com/r/cm2network/tf2/
https://CM2.Network
MIT License
66 stars 22 forks source link

sed: can't read /home/steam/tf-dedicated/tf/cfg/server.cfg #40

Open mohd-akram opened 3 months ago

mohd-akram commented 3 months ago

I get this when starting the server. I run it like so:

podman run -itd -v ~/tf2:/home/steam/tf-dedicated:Z --userns=keep-id \
    --net=host --name=tf2 --env-file=tf2.env \
    docker.io/cm2network/tf2:latest-x64
mohd-akram commented 3 months ago

Overlapping a container directory and a bind mounted volume isn't supported, that's why the cfg directory is empty at this point. Probably the entry script should just copy the files on first run from another location.