mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
17 lines
423 B
Docker
17 lines
423 B
Docker
|
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"]
|