Changed Structure to reflect actual use

This commit is contained in:
Christian Risi
2025-06-25 18:01:05 +02:00
parent 7bb81c3e40
commit 257b29cf00
12 changed files with 11 additions and 2 deletions

26
DOCKERFILE Normal file
View File

@@ -0,0 +1,26 @@
FROM alpine
ENV PATH="$PATH:/docker-bin"
RUN apk update && apk upgrade
RUN apk add nginx openrc \
openssl nginx-mod-stream \
nginx-mod-http-headers-more \
tcpdump
# NGINX
RUN adduser -D -g 'www' www
RUN mkdir /www
RUN chown -R www:www /var/lib/nginx
RUN chown -R www:www /www
RUN cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.orig
RUN touch /run/openrc/softlevel
WORKDIR /docker-bin
COPY ./helper-scripts /docker-bin
RUN chmod +x /docker-bin/*