From d9279d0a54ba0ef9c0d43a473c6ca21317860a56 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 5 Feb 2023 13:11:52 +1100 Subject: [PATCH] Composer is now in /var/cache/composer --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98815f0..3c798aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ FROM registry.dege.au/leenooks/php:8.1-fpm-alpine COPY . /var/www/html/ -RUN mkdir /var/www/.composer && \ - ([ -r auth.json ] && mv auth.json /var/www/.composer/) || true && \ +RUN mkdir /var/cache/composer && \ + ([ -r auth.json ] && mv auth.json /var/cache/composer/) || true && \ touch .composer.refresh && \ mv .env.example .env && \ FORCE_PERMS=1 /sbin/init && \ - rm -rf /var/www/.composer/* && \ + rm -rf /var/cache/composer/* && \ touch .migrate && chmod g+w database