File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- ** /target
1
+ ** /target / *
2
2
cli-tool
3
3
ct_scripts
4
- k8s
4
+ k8s
5
+ docs
Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
22
22
23
23
24
24
ARG PROFILE=release
25
- COPY substrate-node/ /tfchain
26
- COPY pallets/ /tfchain
25
+ COPY . /tfchain
26
+
27
+ WORKDIR /tfchain/substrate-node
27
28
28
29
RUN export PATH="$PATH:$HOME/.cargo/bin" && \
29
30
cargo build "--$PROFILE"
@@ -38,8 +39,8 @@ ARG PROFILE=release
38
39
RUN rm -rf /usr/share/* && \
39
40
mkdir -p /tfchain/.local
40
41
41
- COPY --from=builder /tfchain/target/$PROFILE/tfchain /usr/local/bin
42
- COPY chainspecs /etc/chainspecs/
42
+ COPY --from=builder /tfchain/substrate-node/ target/$PROFILE/tfchain /usr/local/bin
43
+ COPY --from=builder /tfchain/substrate-node/ chainspecs /etc/chainspecs/
43
44
44
45
45
46
# checks
You can’t perform that action at this time.
0 commit comments