From 03263d7b8a44e491b31d3875819666bab4680920 Mon Sep 17 00:00:00 2001 From: rauner <29773634+rauner@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:32:53 +0100 Subject: [PATCH] add instrcution folder to docker container --- docker/dev.dockerfile | 2 ++ docker/main.dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/dev.dockerfile b/docker/dev.dockerfile index dbb3a81..7f32756 100644 --- a/docker/dev.dockerfile +++ b/docker/dev.dockerfile @@ -12,6 +12,7 @@ RUN mkdir src && \ # Copy the actual source code COPY rust_bot/src src COPY rust_bot/static static +COPY rust_bot/instruction instruction COPY rust_bot/context context COPY rust_bot/tests tests COPY rust_bot/.env .env @@ -23,6 +24,7 @@ FROM scratch COPY --from=builder /usr/src/rust_bot/target/x86_64-unknown-linux-musl/release/rust_bot /rust_bot # Copy static files and data if needed COPY --from=builder /usr/src/rust_bot/static /static +COPY --from=builder /usr/src/rust_bot/instruction /instruction COPY --from=builder /usr/src/rust_bot/context /context COPY --from=builder /usr/src/rust_bot/.env /.env # Copy CA certificates diff --git a/docker/main.dockerfile b/docker/main.dockerfile index dbb3a81..7f32756 100644 --- a/docker/main.dockerfile +++ b/docker/main.dockerfile @@ -12,6 +12,7 @@ RUN mkdir src && \ # Copy the actual source code COPY rust_bot/src src COPY rust_bot/static static +COPY rust_bot/instruction instruction COPY rust_bot/context context COPY rust_bot/tests tests COPY rust_bot/.env .env @@ -23,6 +24,7 @@ FROM scratch COPY --from=builder /usr/src/rust_bot/target/x86_64-unknown-linux-musl/release/rust_bot /rust_bot # Copy static files and data if needed COPY --from=builder /usr/src/rust_bot/static /static +COPY --from=builder /usr/src/rust_bot/instruction /instruction COPY --from=builder /usr/src/rust_bot/context /context COPY --from=builder /usr/src/rust_bot/.env /.env # Copy CA certificates