mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Ensure that the target folder is present before copying files into it
This commit is contained in:
1
debian/scripts/init.sh
vendored
1
debian/scripts/init.sh
vendored
@@ -21,6 +21,7 @@ if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
||||
rm -rf /var/www/html/public/.htaccess \
|
||||
/var/www/html/public/.well-known \
|
||||
/var/www/html/public/*
|
||||
mkdir -p /var/www/html/public
|
||||
cp -r /tmp/public/* \
|
||||
/tmp/public/.htaccess \
|
||||
/tmp/public/.well-known \
|
||||
|
||||
Reference in New Issue
Block a user