2021-12-03 02:36:25 +00:00
|
|
|
FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest
|
2020-08-31 11:41:45 +00:00
|
|
|
|
|
|
|
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/*
|