Bash build script for AtSea application
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 | |
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