From 196e66e06d596bd909035a153edb362523c60ec7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 16:57:44 +1100 Subject: [PATCH] updates for container --- debian/Dockerfile | 4 ++-- debian/docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/Dockerfile b/debian/Dockerfile index ef65166..0faf3fd 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -106,7 +106,7 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \ && make install \ && echo 'extension=saxon.so' > "/usr/local/etc/php/conf.d/app.ini"; \ fi - + # Copy scripts COPY rootfs / @@ -117,7 +117,7 @@ WORKDIR /var/www/html RUN set -eux; \ DOWNLOAD_URL=$(curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/latest" | \ grep -o '"browser_download_url": "[^"]*invoiceninja.tar"' | cut -d '"' -f 4) && \ - curl -L "$DOWNLOAD_URL" | tar -xvz -C /var/www/html && \ + curl -L "$DOWNLOAD_URL" | tar -xfvz -C /var/www/html --overwrite && \ rm -rf /var/www/html/ui && \ chown -R www-data:www-data /var/www/html diff --git a/debian/docker-compose.yml b/debian/docker-compose.yml index 8ba783c..5faea18 100644 --- a/debian/docker-compose.yml +++ b/debian/docker-compose.yml @@ -8,7 +8,7 @@ x-logging: &default-logging services: app: - image: invoiceninja/invoiceninja-debian:5 + image: invoiceninja/invoiceninja-debian:5 restart: unless-stopped env_file: - ./.env @@ -112,4 +112,4 @@ volumes: redis_data: driver: local public_files: - driver: local \ No newline at end of file + driver: local