Dockerfile 510 B

12345678910111213141516171819202122232425
  1. FROM python:2.7-alpine3.7
  2. USER root
  3. ENV prefix=/open-falcon
  4. ENV workdir=$prefix/dashboard
  5. RUN apk add --no-cache \
  6. ca-certificates bash git g++ perl make \
  7. py-mysqldb \
  8. py-pyldap
  9. RUN mkdir -p $prefix
  10. ENV PYTHONPATH "${PYTHONPATH}:/usr/lib/python2.7/site-packages/"
  11. WORKDIR $workdir
  12. ADD ./ ./
  13. RUN pip install \
  14. Flask==0.10.1 \
  15. Flask-Babel==0.9 \
  16. Jinja2==2.7.2 \
  17. Werkzeug==0.9.4 \
  18. gunicorn==19.9.0 \
  19. python-dateutil==2.2 \
  20. requests==2.3.0
  21. ENTRYPOINT ["/bin/sh", "-c"]