parent
8ee2c98c04
commit
f5dca6af67
@ -1,6 +1,11 @@
|
|||||||
FROM php:7.4-apache
|
FROM debian:testing
|
||||||
RUN apt update && apt install -y --no-install-recommends sqlite3 git && apt clean && rm -rf /var/lib/apt/lists/*
|
RUN apt update -y && apt install -y --no-install-recommends apache2 php libapache2-mod-php sqlite3 && \
|
||||||
RUN mkdir -p /etc/postfix/
|
apt clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
mkdir -p /etc/postfix/ && \
|
||||||
|
rm /var/www/html/index.html
|
||||||
COPY . /var/www/html/
|
COPY . /var/www/html/
|
||||||
RUN chmod +x /var/www/html/outils/genenv.sh
|
RUN chmod +x /var/www/html/outils/genenv.sh && \
|
||||||
RUN /var/www/html/outils/genenv.sh
|
/var/www/html/outils/genenv.sh
|
||||||
|
|
||||||
|
CMD /usr/sbin/apachectl -D FOREGROUND
|
||||||
|
Loading…
Reference in new issue