1
0
ketr.services/web/Dockerfile.web
2023-10-10 11:45:38 -07:00

21 lines
443 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
COPY /entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]