21 lines
426 B
Docker
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" ]
|