Skip to content

Commit 1954d51

Browse files
author
Max Gravitt
committed
Merge branch 'update-to-polka-v28' of github.com:hashed-io/hashed-substrate into update-to-polka-v28
2 parents e6591a7 + b058cf0 commit 1954d51

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

collator.Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM paritytech/ci-linux:production
2+
3+
WORKDIR /var/www
4+
# TODO: have this dockerfile pull the hashed-substrate repo
5+
COPY . ./hashed-substrate
6+
7+
WORKDIR /var/www/hashed-substrate
8+
# this dir doesnt exists but zombienet script tries to create a file within
9+
RUN mkdir /cfg
10+
11+
RUN cargo build --release
12+
13+
EXPOSE 30333 40333 9933 9944 9946
14+
15+
# add binary to docker image
16+
RUN mv /var/www/hashed-substrate/target/release/hashed-parachain /usr/local/bin
17+
18+
# check if executable works in this container
19+
RUN /usr/local/bin/hashed-parachain --version
20+
21+
ENTRYPOINT [ "hashed-parachain" ]

0 commit comments

Comments
 (0)