2022-06-17 07:38:24 +12:00
|
|
|
#!/bin/bash
|
2022-10-22 08:09:03 +13:00
|
|
|
KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh"
|
|
|
|
echo "Removing unneeded build files:"
|
2022-10-22 08:09:54 +13:00
|
|
|
ls | egrep -v $KEEP | xargs rm -rfv
|
2022-06-17 07:38:24 +12:00
|
|
|
NODE_ENV=production yarn
|