C2A-Installation-Server/docker/script/update-web-platform.sh

12 lines
229 B
Bash

#!/bin/bash
echo "\Start Buildind Web Platform Prod"
cd /web/web-platform/prod
git pull
npm install
npm run build-prod
cp -rdf /var/www/html/c2a-web-platform/*
cp -R dist/* /var/www/html
echo "Build finish Web Platform Prod\n"