Modify tar command in Dockerfile

Removed strip-components option from tar command.

Signed-off-by: TheNewSound <info@worldwidecrap.nl>
This commit is contained in:
TheNewSound
2025-10-27 16:54:22 +01:00
committed by GitHub
parent b40a60a12d
commit d639f649a3

2
debian/Dockerfile vendored
View File

@@ -9,7 +9,7 @@ RUN chown www-data:www-data /tmp/invoiceninja.tar.gz
USER www-data USER www-data
RUN tar -xzf /tmp/invoiceninja.tar.gz -C /var/www/html --strip-components=1 \ RUN tar -xzf /tmp/invoiceninja.tar.gz -C /var/www/html \
&& rm /tmp/invoiceninja.tar.gz \ && rm /tmp/invoiceninja.tar.gz \
&& ln -s /var/www/html/resources/views/react/index.blade.php /var/www/html/public/index.html \ && ln -s /var/www/html/resources/views/react/index.blade.php /var/www/html/public/index.html \
&& php artisan storage:link \ && php artisan storage:link \