Files
nrml_dashboard/Dockerfile
khantey long e23f384d55 Install Node.js in Dockerfile
Added Node.js installation to Dockerfile.
2026-06-17 16:36:41 +07:00

25 lines
577 B
Docker
Executable File

FROM php:8.2-fpm
WORKDIR /var/www
# System dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
zip \
unzip \
libpng-dev \
libonig-dev \
libxml2-dev
# PHP Extensions
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd
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"]