0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 09:03:46 +01:00
synapse/Dockerfile

17 lines
423 B
Text
Raw Normal View History

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"]