web 1.1 KB

1234567891011121314151617181920212223242526
  1. FROM registry.fedoraproject.org/fedora:27
  2. MAINTAINER Patrick Uiterwijk <patrick@puiterwijk.org>
  3. VOLUME ["/repos"]
  4. RUN mkdir /code
  5. RUN dnf install -y python2-devel python-setuptools python-nose python2-bcrypt python-alembic \
  6. python-arrow python-binaryornot python-bleach python-blinker \
  7. python-chardet python-cryptography python-docutils python-flask \
  8. python-flask-wtf python-flask-multistatic python-markdown python-psutil \
  9. python-pygit2 python-pygments python-fedora python-openid python-openid-cla \
  10. python-openid-teams python-straight-plugin python-wtforms python-munch \
  11. python-enum34 python-redis python-sqlalchemy systemd gitolite3 python-filelock \
  12. python-fedora-flask python2-pillow python2-psycopg2 python2-celery \
  13. findutils
  14. COPY web-run /run.sh
  15. WORKDIR /code
  16. # Openshift: --no-debug
  17. ENTRYPOINT ["/usr/bin/bash", "/run.sh"]
  18. EXPOSE 5000
  19. # Code injection is last to make optimal use of caches
  20. VOLUME ["/code"]
  21. # Openshift: COPY / /code
  22. VOLUME ["/attachments"]