This commit is contained in:
2025-03-18 15:04:41 +01:00
parent fc1ef6f3ec
commit aa52f216bd
14 changed files with 107 additions and 53 deletions
+7 -8
View File
@@ -1,13 +1,12 @@
FROM php:7.4-fpm
FROM php:8.1-fpm
RUN apt-get update -y \
&& apt-get install -y nginx \
&& apt-get install -y libpq-dev
RUN pecl install redis-5.1.1 \
&& pecl install xdebug-2.8.1 \
&& docker-php-ext-enable redis xdebug
RUN pecl install redis \
&& docker-php-ext-enable redis
RUN apt-get update && apt-get -y install curl
@@ -61,9 +60,9 @@ COPY --chown=www-data:www-data ./project /var/www/html
#COPY --from=minimalise --chown=www-data /var/www/html/src/scripts_generated /var/www/html/src/scripts_generated
WORKDIR /var/www/html
RUN composer install
RUN npm install
RUN npm run build
RUN apt-get purge --auto-remove -y npm
#RUN composer install
#RUN npm install
#RUN npm run build
#RUN apt-get purge --auto-remove -y npm
ENTRYPOINT ["/etc/entrypoint.sh"]