Skip to content

Commit af7c1e5

Browse files
committed
docker: Make successive runs much faster (if deps don't change)
1 parent 6b13e98 commit af7c1e5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ RUN install_packages \
1717
unzip \
1818
wget
1919

20-
COPY res ./res
21-
COPY run ./run
20+
COPY run/_common ./run/
21+
COPY run/install ./run/
2222
RUN run/install
2323

2424
ENV DATA_DIR="/data"
@@ -27,6 +27,9 @@ ENV DB_BASE_DIR="/db"
2727
RUN mkdir -p "$DATA_DIR"
2828
RUN mkdir -p "$DB_BASE_DIR"
2929

30+
COPY res ./res
31+
COPY run ./run
32+
3033
RUN run/fill-db --samples
3134

3235
# NOTE Labels and annotations are added by CI (outside this Dockerfile);

0 commit comments

Comments
 (0)