mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Merge pull request #823 from TheNewSound/patch-2
Update Dockerfile to use ADD for downloading files, instead of RUN curl
This commit is contained in:
5
debian/Dockerfile
vendored
5
debian/Dockerfile
vendored
@@ -2,10 +2,11 @@ ARG PHP=8.4
|
|||||||
|
|
||||||
FROM php:${PHP}-fpm AS prepare-app
|
FROM php:${PHP}-fpm AS prepare-app
|
||||||
|
|
||||||
|
ADD https://github.com/invoiceninja/invoiceninja/releases/latest/download/invoiceninja.tar.gz /tmp/invoiceninja.tar.gz
|
||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
RUN curl -sL "https://github.com/invoiceninja/invoiceninja/releases/latest/download/invoiceninja.tar.gz" | \
|
RUN tar -xzf /tmp/invoiceninja.tar.gz -C /var/www/html \
|
||||||
tar -xz -C /var/www/html \
|
|
||||||
&& 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