PHP Classes

File: dockerfile

Recommend this page to a friend!
  Classes of Ali YILMAZ   PHP Development with Docker   dockerfile   Download  
File: dockerfile
Role: Auxiliary data
Content typex: text/plain
Description: Auxiliary data
Class: PHP Development with Docker
Run Docker to setup a PHP development environment
Author: By
Last change:
Date: 1 month ago
Size: 246 bytes
 

Contents

Class file image Download
FROM php:8.0-apache WORKDIR /var/www/html RUN apt-get update -y && \ apt-get install -y libmariadb-dev && \ chmod -R 755 /var/www/html RUN docker-php-ext-install pdo pdo_mysql RUN a2enmod rewrite EXPOSE 80 CMD ["apache2-foreground"]