Skip to content

Commit f4d1816

Browse files
authored
[xc-admin] Add dockerfile (#556)
* Add dockerfile * Dockerfile for xc-admin * Add dockerfile
1 parent e49fc3a commit f4d1816

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

governance/xc_admin/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Defined in tilt_devnet/docker_images/Dockerfile.lerna
2+
FROM lerna
3+
4+
USER root
5+
6+
WORKDIR /home/node/
7+
USER 1000
8+
9+
COPY --chown=1000:1000 governance/xc_admin governance/xc_admin
10+
11+
RUN npx lerna run build --scope="{crank_executor,crank_pythnet_relayer}" --include-dependencies
12+
13+
WORKDIR /home/node/governance/xc_admin
14+
15+
CMD [ "npx", "node", "packages/crank_executor/lib/index.js" ]

governance/xc_admin/packages/xc_admin_common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "",
66
"homepage": "https://github.com/pyth-network/pyth-crosschain",
77
"license": "ISC",
8-
"main": "src/index.ts",
8+
"main": "lib/index.js",
99
"repository": {
1010
"type": "git",
1111
"url": "git+https://github.com/pyth-network/pyth-crosschain.git"

0 commit comments

Comments
 (0)