mirror of
https://github.com/ENSL/ensl_hlds.git
synced 2024-12-11 21:21:01 +00:00
Update makefile
Add --net=host
This commit is contained in:
parent
b7116f85dc
commit
a7914845b3
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -22,7 +22,8 @@ build: Dockerfile
|
|||
|
||||
run: build
|
||||
mkdir -p logs
|
||||
docker run -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||
#docker run -p 27015:27015 27015/udp:27015/udp -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||
docker run --net=host -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||
|
||||
shell:
|
||||
docker exec -u0 -ti $(IMAGE) -v /bin/bash
|
||||
|
|
Loading…
Reference in a new issue