Created
November 15, 2023 08:15
-
-
Save dennischen/2ca6fb7c4a2707383d4925316409b711 to your computer and use it in GitHub Desktop.
Build nextspace-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Working Evn: | |
ubuntu@20.04 | |
docker@20.10 | |
nodejs@18.18 | |
yarn@1.22.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -x | |
rm -rf nextspace-demo/ | |
git clone git@github.com:dennischen/nextspace-demo.git --recursive | |
cd nextspace-demo/ | |
cd nextspace/ | |
yarn install | |
yarn test | |
yarn build | |
yarn dist | |
yarn release | |
cd .. | |
yarn install | |
yarn test | |
yarn build | |
docker build . -t nextspace-demo | |
vertag=v$(date '+%Y%m%d') | |
docker tag nextspace-demo:latest atticcat/nextspace-demo:$vertag | |
docker run -it -p 3000:3000 atticcat/nextspace-demo:$vertag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment