Install Node.js in Dockerfile
Added Node.js installation to Dockerfile.
This commit is contained in:
@@ -14,7 +14,9 @@ RUN apt-get update && apt-get install -y \
|
|||||||
|
|
||||||
# PHP Extensions
|
# PHP Extensions
|
||||||
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd
|
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd
|
||||||
RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
|
&& apt-get install -y nodejs
|
||||||
|
# RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|||||||
Reference in New Issue
Block a user