A simple web application that allows invitation based registration to a matrix instance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
346 B

  1. FROM python:3.7
  2. MAINTAINER Drew Short <warrick@sothr.com>
  3. RUN mkdir /srv/portal /srv/portal/data
  4. ENV APP_DATA_DIRECTORY=/srv/portal/data
  5. VOLUME /srv/portal/data
  6. WORKDIR /srv/portal
  7. CMD ["gunicorn", "-b", "0.0.0.0:8080", "app:app"]
  8. COPY . /srv/portal
  9. RUN cd /srv/portal \
  10. && pip install -r requirements.txt \
  11. && pip install gunicorn