neko/.docker/build

17 lines
596 B
Plaintext
Raw Normal View History

2020-01-14 12:12:55 +13:00
#!/bin/bash
cd ../server
2020-01-21 03:37:32 +13:00
go get && ./build
2020-01-14 12:12:55 +13:00
cd ../client
npm install && npm run build
cd ../
2020-01-15 00:00:43 +13:00
sudo docker build -f Dockerfile -t nurdism/neko .
2020-01-14 12:12:55 +13:00
2020-01-24 06:29:20 +13:00
# sudo docker push nurdism/neko:latest
2020-01-26 04:14:46 +13:00
# sudo docker run -e NEKO_BIND='0.0.0.0:9000' --network host --shm-size=1gb nurdism/neko:latest
# sudo docker run -p 9000:8080 -p 59000-59100:59000-59100/udp --shm-size=2gb nurdism/neko:latest
2020-01-19 12:30:09 +13:00
# sudo docker run -p 8080:8080 --shm-size=1gb nurdism/neko:latest
# sudo docker run --network host --shm-size=1gb nurdism/neko:latest
2020-01-26 04:14:46 +13:00
# sudo docker run --network host --shm-size=1gb -it nurdism/neko:latest /bin/bash