.
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user