Dockerfile 395 B

123456789101112131415161718
  1. FROM nginx:alpine
  2. LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
  3. ENV PIP_BREAK_SYSTEM_PACKAGES=1
  4. RUN apk add --no-cache nginx \
  5. python3 \
  6. py3-pip && \
  7. pip install --upgrade pip && \
  8. pip install Jinja2
  9. RUN mkdir -p /etc/nginx/includes
  10. COPY ./bootstrap.py /
  11. COPY ./docker-entrypoint.sh /
  12. ENTRYPOINT ["/docker-entrypoint.sh"]
  13. CMD ["nginx", "-g", "daemon off;"]