Updated Dockerfile and build, now using php 8.4
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 26s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m29s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2025-03-02 19:33:03 +11:00
parent 59e0d873a8
commit a58d1af1b7

View File

@ -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} && \ USER root
([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true && \ RUN mkdir -p ${COMPOSER_HOME} \
touch .composer.refresh && \ && ([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true \
mv .env.example .env && \ && touch .composer.refresh \
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \ && mv .env.example .env \
rm -rf ${COMPOSER_HOME}/* .git* composer.lock && FORCE_PERMS=1 BUILD=1 /sbin/init-docker \
&& rm -rf ${COMPOSER_HOME}/* composer.lock
USER ${SITE_USER}