added Dockerfile

This commit is contained in:
Miroslav Šedivý 2019-12-23 22:03:22 +01:00
parent 667db9e4e0
commit 1259362364

24
Dockerfile Executable file
View file

@ -0,0 +1,24 @@
FROM php:7.4-apache
WORKDIR /var/www/html
MAINTAINER Miroslav Sedivy
RUN apt-get -y update --fix-missing
# Install curl
RUN apt-get -y install libcurl4-openssl-dev
RUN docker-php-ext-install curl
# Install PDO MYSQL
RUN docker-php-ext-install pdo pdo_mysql
COPY . .
VOLUME "i"
VOLUME "t"
VOLUME "data"
VOLUME "custom.ini"
RUN chown -R www-data:www-data . \
&& a2enmod rewrite