Skip to content

Commit c3de449

Browse files
committed
docker: Use custom data and DB dirs
1 parent 1a984ab commit c3de449

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ RUN install_packages \
1919
COPY res ./res
2020
COPY run ./run
2121
RUN run/install
22+
23+
ENV DATA_DIR="/data"
24+
ENV DB_DIR="/db"
25+
26+
RUN mkdir -p "$DATA_DIR"
27+
RUN mkdir -p "$DB_DIR"
28+
2229
RUN run/fill-db --samples
2330

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

0 commit comments

Comments
 (0)