From 6a4382b0f4880e0149c980595a701f9c2a0b9e8c Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 1 Oct 2022 19:45:31 +1000 Subject: [PATCH] Database dir needs to be writable for sqlite --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1664013..bb89767 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,4 @@ FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest COPY . /var/www/html/ -RUN mkdir /var/www/.composer && ([ -r auth.json ] && mv auth.json /var/www/.composer/) || true && touch .composer.refresh && mv .env.example .env && FORCE_PERMS=1 /sbin/init && rm -rf /var/www/.composer/* && touch .migrate +RUN mkdir /var/www/.composer && ([ -r auth.json ] && mv auth.json /var/www/.composer/) || true && touch .composer.refresh && mv .env.example .env && FORCE_PERMS=1 /sbin/init && rm -rf /var/www/.composer/* && touch .migrate && chmod g+w database