Advertisement
Overfinch

Fpm.dockerfile

Sep 2nd, 2022
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. FROM php:8.0-fpm
  2.  
  3. COPY --from=composer /usr/bin/composer /usr/bin/composer
  4.  
  5. RUN apt-get update && apt-get install -y \
  6. zlib1g-dev \
  7. libzip-dev \
  8. unzip
  9.  
  10. RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
  11. RUN apt-get install -y nodejs
  12.  
  13. ADD docker/conf/php.ini /usr/local/etc/php/php.ini
  14.  
  15. RUN docker-php-ext-install zip pdo_mysql pdo_mysql mysqli
  16.  
  17. WORKDIR /var/www/laravel-docker
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement