Browse Source

joystream-node.Dockerfile COPY from all targets

Mokhtar Naamani 3 years ago
parent
commit
aa5e9ef955
1 changed files with 9 additions and 1 deletions
  1. 9 1
      joystream-node.Dockerfile

+ 9 - 1
joystream-node.Dockerfile

@@ -21,8 +21,16 @@ FROM debian:buster
 LABEL description="Joystream node"
 LABEL description="Joystream node"
 WORKDIR /joystream
 WORKDIR /joystream
 COPY --from=builder /joystream/target/release/joystream-node /joystream/node
 COPY --from=builder /joystream/target/release/joystream-node /joystream/node
-COPY --from=builder /joystream/target/release/wbuild/joystream-node-runtime/joystream_node_runtime.compact.wasm /joystream/runtime.compact.wasm
 COPY --from=builder /joystream/target/release/chain-spec-builder /joystream/chain-spec-builder
 COPY --from=builder /joystream/target/release/chain-spec-builder /joystream/chain-spec-builder
+COPY --from=builder /joystream/target/release/wbuild/joystream-node-runtime/joystream_node_runtime.compact.wasm /joystream/runtime.compact.wasm
+
+COPY --from=builder /joystream/target/aarch64-unknown-linux-gnu/release/joystream-node /joystream/node
+COPY --from=builder /joystream/target/aarch64-unknown-linux-gnu/release/chain-spec-builder /joystream/chain-spec-builder
+COPY --from=builder /joystream/target/aarch64-unknown-linux-gnu/release/wbuild/joystream-node-runtime/joystream_node_runtime.compact.wasm /joystream/runtime.compact.wasm
+
+COPY --from=builder /joystream/target/arm-unknown-linux-gnueabihf/release/joystream-node /joystream/node
+COPY --from=builder /joystream/target/arm-unknown-linux-gnueabihf/release/chain-spec-builder /joystream/chain-spec-builder
+COPY --from=builder /joystream/target/arm-unknown-linux-gnueabihf/release/wbuild/joystream-node-runtime/joystream_node_runtime.compact.wasm /joystream/runtime.compact.wasm
 
 
 # confirm it works
 # confirm it works
 RUN /joystream/node --version
 RUN /joystream/node --version