Skip to content

Commit

Permalink
add instrcution folder to docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
rauner committed Mar 19, 2024
1 parent 8b8a39f commit 03263d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docker/main.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 03263d7

Please sign in to comment.