mirror of
https://github.com/ENSL/ensl_hlds.git
synced 2025-01-06 01:00:49 +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
|
run: build
|
||||||
mkdir -p logs
|
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:
|
shell:
|
||||||
docker exec -u0 -ti $(IMAGE) -v /bin/bash
|
docker exec -u0 -ti $(IMAGE) -v /bin/bash
|
||||||
|
|
Loading…
Reference in a new issue