blob: 5f0433004feb443c59486eb2151580bcc7002a1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM python:2-alpine
RUN apk add --no-cache --virtual .nacl_deps build-base libffi-dev zlib-dev openssl-dev libjpeg-turbo-dev linux-headers
COPY synapse /usr/local/src/synapse
COPY setup.py setup.cfg README.rst synctl /usr/local/src/
RUN cd /usr/local/src \
&& pip install --upgrade --process-dependency-links . \
&& rm -rf setup.py setup.cfg synapse
COPY contrib/docker /
VOLUME ["/data"]
ENTRYPOINT ["/start.py"]
|