mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-06 14:37:26 +01:00
Updates for resolving filessystem
This commit is contained in:
4
debian/Dockerfile
vendored
4
debian/Dockerfile
vendored
@@ -120,6 +120,8 @@ RUN set -eux; \
|
||||
curl -L "$DOWNLOAD_URL" | tar -xvz -C /var/www/html && \
|
||||
chown -R www-data:www-data /var/www/html
|
||||
|
||||
USER www-data
|
||||
|
||||
# Install dependencies
|
||||
RUN composer install --no-dev --no-scripts --no-autoloader
|
||||
|
||||
@@ -131,6 +133,8 @@ RUN composer dump-autoload --optimize \
|
||||
&& php artisan route:cache \
|
||||
&& php artisan storage:link
|
||||
|
||||
USER root
|
||||
|
||||
# Setup supervisor
|
||||
COPY supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user