summaryrefslogtreecommitdiffstats
path: root/stacksmith
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-03-06 01:56:32 +0200
committerLauri Ojansivu <x@xet7.org>2019-03-06 01:56:32 +0200
commita45ccf1db7bc07b059b30ac378830e23c09eae40 (patch)
treece73c4cddb906aaba0a93b0ae29248d9cebed558 /stacksmith
parent30bf430a913b55a15d8292429371e9416af69290 (diff)
downloadwekan-a45ccf1db7bc07b059b30ac378830e23c09eae40.tar.gz
wekan-a45ccf1db7bc07b059b30ac378830e23c09eae40.tar.bz2
wekan-a45ccf1db7bc07b059b30ac378830e23c09eae40.zip
[Remove phantomjs binary from Docker/Snap/Stackerfile to reduce size](https://github.com/wekan/wekan/issues/2229).
Thanks to soohwa ! Closes #2229
Diffstat (limited to 'stacksmith')
-rwxr-xr-xstacksmith/user-scripts/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/stacksmith/user-scripts/build.sh b/stacksmith/user-scripts/build.sh
index 2c55d4f0..86283202 100755
--- a/stacksmith/user-scripts/build.sh
+++ b/stacksmith/user-scripts/build.sh
@@ -92,6 +92,7 @@ sudo -u wekan ${meteor} npm install
sudo -u wekan ${meteor} build --directory /home/wekan/app_build
sudo cp /home/wekan/app/fix-download-unicode/cfs_access-point.txt /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js
sudo chown wekan:wekan /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js
+sudo rm /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
cd /home/wekan/app_build/bundle/programs/server/
sudo npm install
sudo chown -R wekan:wekan ./node_modules