Composer is now in /var/cache/composer
This commit is contained in:
parent
c315f208d4
commit
d9279d0a54
@ -2,10 +2,10 @@ FROM registry.dege.au/leenooks/php:8.1-fpm-alpine
|
|||||||
|
|
||||||
COPY . /var/www/html/
|
COPY . /var/www/html/
|
||||||
|
|
||||||
RUN mkdir /var/www/.composer && \
|
RUN mkdir /var/cache/composer && \
|
||||||
([ -r auth.json ] && mv auth.json /var/www/.composer/) || true && \
|
([ -r auth.json ] && mv auth.json /var/cache/composer/) || true && \
|
||||||
touch .composer.refresh && \
|
touch .composer.refresh && \
|
||||||
mv .env.example .env && \
|
mv .env.example .env && \
|
||||||
FORCE_PERMS=1 /sbin/init && \
|
FORCE_PERMS=1 /sbin/init && \
|
||||||
rm -rf /var/www/.composer/* && \
|
rm -rf /var/cache/composer/* && \
|
||||||
touch .migrate && chmod g+w database
|
touch .migrate && chmod g+w database
|
||||||
|
Loading…
Reference in New Issue
Block a user