Created
May 11, 2017 20:26
-
-
Save spara/71eb5d08caf7de3fa449faf7e638c7f6 to your computer and use it in GitHub Desktop.
Bash build script for AtSea application
This file contains hidden or 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 | |
docker-compose down | |
mkdir -p app/react-app/node_modules | |
npm install --prefix app/react-app | |
npm run build --prefix app/react-app | |
rm -r app/static; mv app/react-app/build app/static | |
mvn package | |
cp -f target/AtSea-0.0.1-SNAPSHOT.jar app/ | |
docker-compose build | |
docker-compose u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment