Skip to content

Commit

Permalink
fix: example dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Datron committed Sep 5, 2024
1 parent c86d330 commit 47c6a4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN cd crates/frontend \
RUN mv crates/frontend/pkg target/site/
RUN cp -a crates/frontend/assets/. target/site/
RUN cp .env.example target/.env
RUN mkdir -p target/web
RUN cp -a examples/superposition-demo-app/web/. target/web/
# building backend
RUN cargo build --release

Expand Down Expand Up @@ -68,7 +70,7 @@ RUN node --version
COPY examples/superposition-demo-app/superposition_demo.sh .
RUN chmod 774 superposition_demo.sh
COPY --from=builder /build/target/release/cac-demo-app /app/cac-demo-app
COPY --from=builder /build/examples/superposition-demo-app/web /app/web
COPY --from=builder /build/target/web /app/examples/superposition-demo-app/web/
COPY --from=builder /build/target/release/superposition /app/superposition
COPY --from=builder /build/Cargo.toml /app/Cargo.toml
COPY --from=builder /build/target/site /app/target/site
Expand Down

0 comments on commit 47c6a4c

Please sign in to comment.