This commit is contained in:
Vassiliy Yegorov
2021-05-23 16:31:08 +07:00
parent bc234edfea
commit 872c9c1b4e

View File

@@ -3,15 +3,11 @@ MAINTAINER vasyakrg <vasyakrg@gmail.com>
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-transport-https \ apt-transport-https \
curl \
wget \
git \
libpq-dev \ libpq-dev \
&& docker-php-ext-install pdo_mysql \ && docker-php-ext-install pdo_mysql \
&& apt-get update \ && rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/lib/apt/lists/* && rm /etc/apache2/sites-enabled/*
RUN rm /etc/apache2/sites-enabled/*
COPY myapp.conf /etc/apache2/sites-available/myapp.conf COPY myapp.conf /etc/apache2/sites-available/myapp.conf
RUN a2enmod rewrite headers && a2ensite myapp RUN a2enmod rewrite headers && a2ensite myapp