montée version phpcas et image nineapache
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -1,12 +1,18 @@
|
||||
ARG PHP_PKG_VERSION="8.1.22-r0"
|
||||
ARG ADDITIONAL_PACKAGES="tree \
|
||||
php81-gd=${PHP_PKG_VERSION} \
|
||||
php81-sodium=${PHP_PKG_VERSION} \
|
||||
php81-fileinfo=${PHP_PKG_VERSION} \
|
||||
php81-pdo=${PHP_PKG_VERSION} \
|
||||
php81-pdo_pgsql=${PHP_PKG_VERSION} \
|
||||
php81-intl=${PHP_PKG_VERSION} \
|
||||
php81-ldap=${PHP_PKG_VERSION} \
|
||||
php81-pecl-redis=5.3.7-r0"
|
||||
FROM reg.cadoles.com/envole/nineapache:8.1
|
||||
|
||||
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-standalone
|
||||
COPY ./misc/images/app/app-docker/apache.conf /etc/apache2/conf.d/nine/site.conf
|
||||
|
||||
RUN echo "* * * * * /app/bin/console app:Cron --env=prod" >> /var/spool/cron/crontabs/root
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
# Installation des dépendances composer
|
||||
RUN composer install --no-interaction
|
||||
|
||||
RUN mkdir -p /app/var
|
||||
RUN chown apache /app/var -R
|
||||
RUN chmod u+w /app/var -R
|
||||
RUN chmod g+w /app/var -R
|
||||
|
||||
CMD /app/misc/script/reconfigure.sh && /etc/apache2/apache2.sh
|
||||
|
Reference in New Issue
Block a user