user shell: Setup path

This commit is contained in:
Tom Wiesing 2020-08-06 09:32:10 +02:00
parent d03404ea4d
commit 0f9cbd06b0
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
2 changed files with 4 additions and 1 deletions

View file

@ -2,4 +2,4 @@
# This script is used to start a user shell inside the docker container.
cd "/var/www/data/project"
sudo -u www-data /bin/bash "$@"
sudo -u www-data "PATH=/var/www/data/project/vendor/bin:$PATH" /bin/bash "$@"