ARG ALPINE_VERSION=3.18 FROM alpine:${ALPINE_VERSION} RUN echo OK && apk update RUN apk add --no-cache openssl nginx bash tzdata ca-certificates wget tar RUN wget https://git.ngtech.co.il/NgTech-LTD/js-dos-pack/archive/master.tar.gz -O /tmp/master.tar.gz && \ tar xvf /tmp/master.tar.gz -C /var/lib/nginx/html/ && \ rm -vf /tmp/master.tar.gz COPY default.conf /etc/nginx/http.d/default.conf COPY scripts/gen-self-signed-cert.sh /gen-self-signed-cert.sh COPY scripts/start.sh /start.sh WORKDIR / RUN chmod +x /start.sh && rm -vf /var/lib/nginx/html/index.html CMD ["/start.sh"]