From e23f384d554b65e1b6bb314b849bec6ccd2a097f Mon Sep 17 00:00:00 2001 From: khantey long Date: Wed, 17 Jun 2026 16:36:41 +0700 Subject: [PATCH] Install Node.js in Dockerfile Added Node.js installation to Dockerfile. --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b506a23..0b77cd0 100755 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,11 @@ RUN apt-get update && apt-get install -y \ # PHP Extensions 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 COPY --from=composer:latest /usr/bin/composer /usr/bin/composer -CMD ["php-fpm"] \ No newline at end of file +CMD ["php-fpm"]