Files
nrml_dashboard/Dockerfile
2026-06-16 17:24:00 +07:00

24 lines
552 B
Docker

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"]