mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix linux permissions with ui tests
This commit is contained in:
parent
be5fe2830e
commit
6a162d7250
1 changed files with 2 additions and 3 deletions
|
|
@ -39,9 +39,8 @@ else
|
|||
sudo sed -i "/python3 -m gunicorn/c\ python3 -m flask --app main:app run --host=127.0.0.1 --port=7000 &" /usr/share/bunkerweb/scripts/bunkerweb-ui.sh
|
||||
export MAKEFLAGS="-j$(nproc)"
|
||||
pip install --force-reinstall --no-cache-dir --require-hashes --target /usr/share/bunkerweb/deps/python -r /usr/share/bunkerweb/deps/requirements.txt
|
||||
sudo chown -R nginx:nginx /usr/share/bunkerweb
|
||||
find /usr/share/bunkerweb -path /usr/share/bunkerweb/ui/deps -prune -o -type f -exec sudo chmod 0740 {} \;
|
||||
find /usr/share/bunkerweb -path /usr/share/bunkerweb/ui/deps -prune -o -type d -exec sudo chmod 0750 {} \;
|
||||
sudo chown -R nginx:nginx /usr/share/bunkerweb/deps
|
||||
sudo chmod -R 777 /usr/share/bunkerweb/deps
|
||||
sudo mkdir /var/www/html/app1.example.com
|
||||
sudo touch /var/www/html/app1.example.com/index.html
|
||||
export TEST_TYPE="linux"
|
||||
|
|
|
|||
Loading…
Reference in a new issue