added development environment

This commit is contained in:
2022-04-18 13:22:09 +02:00
parent b960d5eefe
commit 844e3f3226
4 changed files with 55 additions and 0 deletions

7
PHP.Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM php:fpm
# install pdo mysql extension
RUN docker-php-ext-install pdo pdo_mysql
# install xdebug for php
RUN pecl install xdebug && docker-php-ext-enable xdebug