mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-01 11:47:10 +01:00
updates for container
This commit is contained in:
2
debian/Dockerfile
vendored
2
debian/Dockerfile
vendored
@@ -117,7 +117,7 @@ WORKDIR /var/www/html
|
|||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
DOWNLOAD_URL=$(curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/latest" | \
|
DOWNLOAD_URL=$(curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/latest" | \
|
||||||
grep -o '"browser_download_url": "[^"]*invoiceninja.tar"' | cut -d '"' -f 4) && \
|
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 && \
|
rm -rf /var/www/html/ui && \
|
||||||
chown -R www-data:www-data /var/www/html
|
chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user