Clear npm proxy in fpm-alpine-nginx-composer image

This commit is contained in:
Mohammed Al-Mahdawi 2021-06-14 15:34:23 +03:00
parent 4e185f1098
commit 2f7a313876
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ RUN curl -sS https://getcomposer.org/installer -o composer-setup.php
RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer
RUN rm -rf composer-setup.php
# Clear npm proxy
RUN npm config rm proxy
RUN npm config rm https-proxy
# Download Akaunting application
RUN mkdir -p /var/www/html
RUN cd /var/www/html && git clone https://github.com/akaunting/akaunting.git . && composer install && npm install && npm run dev