Skip to content

Commit

Permalink
chore: handle patch for docker (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeeshan Lakhani committed Feb 29, 2024
1 parent d2f2b71 commit 8fb03c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN cargo init --lib homestar-invocation && \
RUN echo "fn main() {}" > ./homestar-runtime/src/main.rs

RUN mkdir -p ./homestar-runtime/src/test_utils/proc_macro ./homestar-runtime/migrations \
./examples ./homestar-functions ./homestar-schemas
./homestar-runtime/src/db ./examples ./homestar-functions ./homestar-schemas
RUN bash -c 'pushd ./examples && cargo init dummy-app-examples && popd'
RUN bash -c 'pushd ./homestar-functions && cargo init dummy-app-fns && popd'
RUN cargo init homestar-schemas
Expand All @@ -45,7 +45,8 @@ COPY ../homestar-workflow/Cargo.toml ./homestar-workflow/
COPY ../homestar-wasm/Cargo.toml ./homestar-wasm/
COPY ../homestar-runtime/Cargo.toml ./homestar-runtime/
COPY ../homestar-runtime/migrations ./homestar-runtime/migrations
COPY ../homestar-runtime/schemas/api.json ./homestar-runtime/schemas/api.json
COPY ../homestar-runtime/src/db/schema.patch ./homestar-runtime/src/db/
COPY ../homestar-runtime/schemas/api.json ./homestar-runtime/schemas/
COPY ../homestar-runtime/src/test_utils/proc_macro ./homestar-runtime/src/test_utils/proc_macro

ENTRYPOINT ["/bin/bash"]
Expand Down

0 comments on commit 8fb03c3

Please sign in to comment.