1
0
ketr.services/Dockerfile.web
James Ketrenos 97a73102bf Working on DNS and email
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-10-07 00:15:49 -07:00

21 lines
426 B
Docker

FROM ubuntu:jammy
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
nginx \
apache2 \
nano \
php8.1 libapache2-mod-php \
net-tools \
inotify-tools \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}
RUN a2enmod php8.1 \
&& a2enmod rewrite
COPY /Dockerfile.web /Dockerfile.web
COPY /web.sh /web.sh
ENTRYPOINT [ "/web.sh" ]