Initial commit
This commit is contained in:
11
docker/Dockerfile
Normal file
11
docker/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM nginx:latest as nginx
|
||||
|
||||
FROM php:8-fpm as php-fpm
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y libmariadb-dev
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql
|
||||
|
||||
FROM php:8-apache as apache
|
||||
RUN a2enmod ssl && a2enmod rewrite
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql
|
||||
WORKDIR /var/www/html
|
Reference in New Issue
Block a user