neko/.docker/build

15 lines
473 B
Plaintext
Raw Normal View History

2020-01-14 12:12:55 +13:00
#!/bin/bash
2020-01-28 20:07:35 +13:00
cd ../server \
&& go get \
&& ./build \
&& cd ../client \
&& npm install && npm run build \
&& cd ../ \
&& sudo docker build -f Dockerfile -t nurdism/neko . \
&& sudo docker images nurdism/neko
# sudo docker images nurdism/neko
2020-01-24 06:29:20 +13:00
# sudo docker push nurdism/neko:latest
2020-01-28 20:07:35 +13:00
# sudo docker run -p 80:8080 -p 59000-59100:59000-59100/udp --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