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

16 lines
517 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-29 14:42:48 +13:00
# sudo docker tag <image> nurdism/neko:1.0
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