neko/.docker/build

14 lines
334 B
Plaintext
Raw Normal View History

2020-01-14 12:12:55 +13:00
#!/bin/bash
cd ../server
go get && make build
cd ../client
npm install && npm run build
cd ../
sudo docker build -f Dockerfile -t neko .
# sudo docker run -p 8080:8080 --shm-size=2gb neko:latest
# sudo docker run --network host --shm-size=2gb neko:latest
# sudo docker run --network host --shm-size=2gb -it neko:latest /bin/bash