Files
Kubernetes-deploy/App/docker/php/Dockerfile
Vassiliy Yegorov 2d532999e1 fix
2021-05-06 15:04:47 +07:00

18 lines
423 B
Docker

FROM php:7.4-apache-buster
MAINTAINER vasyakrg <vasyakrg@gmail.com>
RUN apt-get update && apt-get install -y \
apt-transport-https \
curl \
wget \
git \
&& apt-get update && rm -rf /var/lib/apt/lists/*
RUN rm /etc/apache2/sites-enabled/*
COPY myapp.conf /etc/apache2/sites-available/myapp.conf
RUN a2enmod rewrite headers && a2ensite myapp
COPY myapp/ /var/www/
WORKDIR /var/www