summaryrefslogtreecommitdiff
path: root/images/matrix/Dockerfile
blob: 5569475ee415144533e6bf5da4a5a1708e112e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM alpine:3.5 AS builder

RUN apk add --no-cache build-base ca-certificates python2-dev py2-pip su-exec \
      py2-psycopg2 py2-msgpack py2-psutil py2-openssl py2-yaml py-twisted py2-netaddr \
      py2-cffi py2-asn1 py2-asn1-modules py2-cryptography py2-pillow py2-decorator py2-jinja2 \
      py2-requests py2-simplejson py2-tz py2-crypto py2-dateutil py2-service_identity

RUN pip install https://github.com/kdltr/synapse/tarball/master

ADD synapse /app/synapse

ENTRYPOINT python -m synapse.app.homeserver \
                  --server-name tx0.co \
                  --config-path /app/synapse/homeserver.yaml \
                  --report-stats=no