Skip to content

Commit 7475ba3

Browse files
committed
Pare down files copied into container by Dockerfile
Copy in the minimum necessary files for a successful install and run to cut down on caching forcing changes to the container. This will cut down on unnecessary docker build cache misses when using the run script.
1 parent b7c090f commit 7475ba3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ COPY requirements.txt .
88

99
RUN pip install --no-cache-dir --requirement requirements.txt
1010

11-
COPY . .
11+
COPY scripts/ scripts/
12+
13+
COPY trustymail/ trustymail/
14+
15+
COPY README.md .
16+
17+
COPY requirements-dev.txt .
18+
19+
COPY setup.py .
1220

1321
RUN pip install --editable .
1422

0 commit comments

Comments
 (0)