Prepare nginx as a unique frontend

This commit is contained in:
kaiyou
2017-09-24 14:01:03 +02:00
parent 995147f444
commit 755d9f0520
4 changed files with 42 additions and 14 deletions

View File

@@ -1,9 +1,8 @@
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
RUN apk add --no-cache nginx nginx-mod-mail python py-jinja2
COPY conf /conf
COPY start.sh /start.sh
COPY start.py /start.py
CMD /start.sh
CMD /start.py