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
2020-01-25 15:14:46 +00:00

17 lines
596 B
Bash
Executable File

#!/bin/bash
cd ../server
go get && ./build
cd ../client
npm install && npm run build
cd ../
sudo docker build -f Dockerfile -t nurdism/neko .
# sudo docker push nurdism/neko:latest
# 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
# sudo docker run -p 8080:8080 --shm-size=1gb nurdism/neko:latest
# sudo docker run --network host --shm-size=1gb nurdism/neko:latest
# sudo docker run --network host --shm-size=1gb -it nurdism/neko:latest /bin/bash