21 lines
433 B
Docker
21 lines
433 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 /Dockerfile
|
|
COPY /ketreweb.sh /ketreweb.sh
|
|
|
|
ENTRYPOINT [ "/ketreweb.sh" ]
|