Advertisement
danielcristho

php-fpm-8.2

Jul 31st, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.36 KB | None | 0 0
  1. FROM php:8.2-fpm-alpine
  2.  
  3. WORKDIR /var/www/app
  4.  
  5. RUN apk update && apk add \
  6.     curl \
  7.     libpng-dev \
  8.     libxml2-dev \
  9.     zip \
  10.     unzip \
  11.     nano
  12.  
  13. RUN docker-php-ext-install pdo pdo_mysql \
  14.     && apk --no-cache add nodejs npm
  15.  
  16. COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
  17.  
  18. USER root
  19.  
  20. RUN chmod 777 -R /var/www/app
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement