Skip to content

Commit

Permalink
fix(keyvalue): add the right copy path
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Nov 14, 2023
1 parent d6fcbda commit 81dee8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/spin-keyvalue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ COPY . .
RUN rustup target add wasm32-wasi && cargo build --target wasm32-wasi --release

FROM scratch
COPY ./spin.toml ./spin.toml
COPY ./target/wasm32-wasi/release/spin_keyvalue.wasm ./target/wasm32-wasi/release/spin_keyvalue.wasm
COPY ./runtime-config.toml ./runtime-config.toml
COPY --from=build /opt/build/spin.toml ./spin.toml
COPY --from=build /opt/build/target/wasm32-wasi/release/spin_keyvalue.wasm ./target/wasm32-wasi/release/spin_keyvalue.wasm
COPY --from=build /opt/build/runtime-config.toml ./runtime-config.toml

0 comments on commit 81dee8f

Please sign in to comment.