Do not copy documentation files to the Docker root folder

This commit is contained in:
kaiyou 2018-02-05 22:57:22 +01:00
parent f5364b47ec
commit 630573a932

View File

@ -9,7 +9,7 @@ RUN cd /synapse \
&& pip install --upgrade pip setuptools psycopg2 \ && pip install --upgrade pip setuptools psycopg2 \
&& mkdir -p /synapse/cache \ && mkdir -p /synapse/cache \
&& pip install -f /synapse/cache --upgrade --process-dependency-links . \ && pip install -f /synapse/cache --upgrade --process-dependency-links . \
&& mv /synapse/contrib/docker/* / \ && mv /synapse/contrib/docker/start.py /synapse/contrib/docker/conf / \
&& rm -rf setup.py setup.cfg synapse && rm -rf setup.py setup.cfg synapse
VOLUME ["/data"] VOLUME ["/data"]