Dockerfile diff

-1 Removal
+0 Additions
### Stage: PHP FPM - NGINX ###
### Stage: PHP FPM - NGINX ###
FROM serversideup/php:8.0-fpm-nginx AS php-nginx
FROM serversideup/php:8.0-fpm-nginx AS php-nginx
COPY --chown=9999:9999 . /var/www/html
COPY --chown=9999:9999 . /var/www/html
RUN apt-get update \
RUN apt-get update \
&& apt-get install -y --no-install-recommends php8.0-imagick php8.0-bcmath \
&& apt-get install -y --no-install-recommends php8.0-imagick php8.0-bcmath \
&& apt-get clean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
### Stage: PHP CLI ###
### Stage: PHP CLI ###
FROM serversideup/php:8.0-cli AS php-cli
FROM serversideup/php:8.0-cli AS php-cli
COPY --from=php-nginx --chown=9999:9999 /var/www/html /var/www/html
COPY --from=php-nginx --chown=9999:9999 /var/www/html /var/www/html
RUN apt-get update \
RUN apt-get update \
&& apt-get install -y --no-install-recommends php8.0-imagick php8.0-bcmath \
&& apt-get install -y --no-install-recommends php8.0-imagick php8.0-bcmath \
&& apt-get clean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
Editor
Clear
Export as PDF