neko/.docker/build
2020-01-14 11:00:43 +00:00

14 lines
366 B
Bash
Executable File

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