We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6591a7 + b058cf0 commit 1954d51Copy full SHA for 1954d51
collator.Dockerfile
@@ -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