mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Update Dockerfile to use ADD for downloading files
Replaced curl command with ADD instruction for downloading Invoice Ninja instead of RUN curl. Signed-off-by: TheNewSound <info@worldwidecrap.nl>
This commit is contained in:
5
debian/Dockerfile
vendored
5
debian/Dockerfile
vendored
@@ -4,8 +4,9 @@ FROM php:${PHP}-fpm AS prepare-app
|
|||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
RUN curl -sL "https://github.com/invoiceninja/invoiceninja/releases/latest/download/invoiceninja.tar.gz" | \
|
ADD https://github.com/invoiceninja/invoiceninja/releases/latest/download/invoiceninja.tar.gz /tmp/invoiceninja.tar.gz
|
||||||
tar -xz -C /var/www/html \
|
RUN tar -xzf /tmp/invoiceninja.tar.gz -C /var/www/html --strip-components=1 \
|
||||||
|
&& 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 \
|
||||||
# Workaround for application updates
|
# Workaround for application updates
|
||||||
|
|||||||
Reference in New Issue
Block a user