15 lines
403 B
Bash
Executable File
15 lines
403 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 -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 |