Updated Dockerfile and build, now using php 8.4
This commit is contained in:
parent
59e0d873a8
commit
ef4ee6ea96
@ -1,10 +1,12 @@
|
||||
FROM registry.dege.au/leenooks/php:8.3-fpm-pgsql
|
||||
FROM gitea.dege.au/docker/php:8.4-pgsql
|
||||
|
||||
COPY . /var/www/html/
|
||||
COPY . /app
|
||||
|
||||
RUN mkdir -p ${COMPOSER_HOME} && \
|
||||
([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true && \
|
||||
touch .composer.refresh && \
|
||||
mv .env.example .env && \
|
||||
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
|
||||
rm -rf ${COMPOSER_HOME}/* .git* composer.lock
|
||||
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 /tmp/opcache/*
|
||||
USER ${SITE_USER}
|
||||
|
Loading…
x
Reference in New Issue
Block a user