Skip to content

Commit b08a269

Browse files
committed
docker: include the configuration file in the output image
1 parent 19329be commit b08a269

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,9 @@ RUN mkdir /workspace
6464
ENV CRATER_WORK_DIR=/workspace
6565
ENV CRATER_INSIDE_DOCKER=1
6666

67+
RUN mkdir /crater
68+
COPY config.toml /crater/config.toml
69+
WORKDIR /crater
70+
6771
COPY --from=build /source/target/release/crater /usr/local/bin/
6872
ENTRYPOINT ["tini", "crater"]

0 commit comments

Comments
 (0)