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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/4562.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Docker: only copy what we need to the build image
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
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