pla-version/docker/Dockerfile

13 lines
372 B
Docker
Raw Normal View History

FROM gitea.dege.au/docker/php:8.4-pgsql
2023-03-03 10:36:19 +11:00
COPY . /var/www/html/
USER root
RUN mkdir -p ${COMPOSER_HOME} \
&& ([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true \
&& touch .composer.refresh \
&& mv .env.example .env \
&& FORCE_PERMS=1 BUILD=1 /sbin/init-docker \
&& rm -rf ${COMPOSER_HOME}/* composer.lock
USER ${SITE_USER}