Skip to content

Commit

Permalink
corrects submodules being a pain in the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed Nov 13, 2024
1 parent 021daee commit f035222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/od_ref_bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ COPY src/ src/
COPY build.rs build.rs
COPY Cargo.toml Cargo.toml

ADD https://github.com/OpenDreamProject/od-dm-reference.git#main:content /usr/content
ADD https://github.com/OpenDreamProject/od-dm-reference.git#main /usr/ref

RUN SOURCE_DIR=/usr/content cargo install --path .
RUN SOURCE_DIR=/usr/ref/content cargo install --path .

FROM debian:bookworm-slim
COPY --from=builder /usr/local/cargo/bin/od_ref_bot /usr/local/bin/od_ref_bot
Expand Down

0 comments on commit f035222

Please sign in to comment.