We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba4b8a commit 4cbeb85Copy full SHA for 4cbeb85
docker/script/init.sh
@@ -0,0 +1,15 @@
1
+#!/bin/sh
2
+
3
+echo "Init Begin!"
4
5
+echo "args:"
6
+echo $@
7
8
9
+echo "set default piece storage path: /PieceStorage"
10
+mkdir -p ~/.venusmarket/
11
+cat /docker/config/PieceStorage.toml > ~/.venusmarket/config.toml
12
+cat ~/.venusmarket/config.toml
13
+echo "Init End!"
14
15
+/app/venus-market $@
dockerfile
@@ -29,8 +29,9 @@ COPY --from=buildenv /usr/lib/x86_64-linux-gnu/libhwloc.so.5 \
29
/usr/lib/x86_64-linux-gnu/libltdl.so.7 \
30
/lib/
31
32
-EXPOSE 41235
33
-ENTRYPOINT ["/app/venus-market"]
+EXPOSE 41235 58418
+ENTRYPOINT ["/script/init.sh"]
34
35
36
37
0 commit comments