Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Docker: only copy what we need to the build image #4562

Merged
merged 1 commit into from Feb 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/4562.misc
@@ -0,0 +1 @@
Docker: only copy what we need to the build image
5 changes: 4 additions & 1 deletion docker/Dockerfile
Expand Up @@ -31,7 +31,10 @@ RUN pip install --prefix="/install" --no-warn-script-location \

# now install synapse and all of the python deps to /install.

COPY . /synapse
COPY synapse /synapse/synapse/
COPY scripts /synapse/scripts/
COPY MANIFEST.in README.rst setup.py synctl /synapse/

RUN pip install --prefix="/install" --no-warn-script-location \
/synapse[all]

Expand Down