Use jinja2 for building nginx config
This commit is contained in:
9
nginx/Dockerfile
Normal file
9
nginx/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM alpine:edge
|
||||
|
||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk add --no-cache nginx nginx-mod-mail py-setuptools jinja2-cli@testing
|
||||
|
||||
COPY conf /conf
|
||||
COPY start.sh /start.sh
|
||||
|
||||
CMD /start.sh
|
||||
Reference in New Issue
Block a user