Changed Structure to reflect actual use
This commit is contained in:
26
DOCKERFILE
Normal file
26
DOCKERFILE
Normal 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/*
|
||||
|
||||
Reference in New Issue
Block a user