Move npm to base image
This commit is contained in:
parent
cd26c07099
commit
98210c41a9
@ -39,6 +39,10 @@ RUN apk add --no-cache libjpeg libgd libpng freetype freetype-dev zlib-dev libpn
|
|||||||
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
ENV COMPOSER_HOME=/var/cache/composer
|
ENV COMPOSER_HOME=/var/cache/composer
|
||||||
|
|
||||||
|
# Add npm
|
||||||
|
RUN apk add --no-cache npm
|
||||||
|
|
||||||
|
# Other config
|
||||||
COPY msmtprc /etc/
|
COPY msmtprc /etc/
|
||||||
COPY docker/www.conf /usr/local/etc/php-fpm.d/
|
COPY docker/www.conf /usr/local/etc/php-fpm.d/
|
||||||
COPY docker/nginx-app.conf /etc/nginx/http.d/default.conf
|
COPY docker/nginx-app.conf /etc/nginx/http.d/default.conf
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
FROM registry.dege.au/leenooks/php:8.1-fpm
|
FROM registry.dege.au/leenooks/php:8.1-fpm
|
||||||
|
|
||||||
# Add other built tools
|
# Add xdebug
|
||||||
RUN apk --no-cache add npm linux-headers \
|
RUN apk --no-cache add linux-headers \
|
||||||
&& pecl_install xdebug \
|
&& pecl_install xdebug \
|
||||||
&& apk --no-cache del linux-headers
|
&& apk --no-cache del linux-headers
|
||||||
|
Loading…
Reference in New Issue
Block a user