Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/.docker/build

18 lines
600 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 03:29:52 +13:00
# sudo docker run -e NEKO_BIND='0.0.0.0:9000' --shm-size=1gb nurdism/neko:latest
# sudo docker run -p 8080:8080 -p 59000-65000:59000-65000/udp --network host --shm-size=1gb 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 03:29:52 +13:00
# sudo docker run --network host --shm-size=1gb -it nurdism/neko:latest /bin/bash
#