updates for container

This commit is contained in:
David Bomba
2024-11-23 16:57:44 +11:00
parent 7498a94bd1
commit 196e66e06d
2 changed files with 4 additions and 4 deletions

2
debian/Dockerfile vendored
View File

@@ -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