Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Nov 24, 2022
1 parent 6f9abb8 commit 0c615ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM rust:latest as builder

RUN cargo install wasm-pack

COPY . /build
WORKDIR /build
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/build/target \
# --mount=type=cache,target=/build/target \
cd ./volts-front && \
wasm-pack build --target web && \
cd .. && \
Expand Down

0 comments on commit 0c615ed

Please sign in to comment.