[xc-admin] Add dockerfile (#556)
* Add dockerfile * Dockerfile for xc-admin * Add dockerfile
This commit is contained in:
parent
e49fc3a13d
commit
f4d18167cd
|
@ -0,0 +1,15 @@
|
|||
# Defined in tilt_devnet/docker_images/Dockerfile.lerna
|
||||
FROM lerna
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /home/node/
|
||||
USER 1000
|
||||
|
||||
COPY --chown=1000:1000 governance/xc_admin governance/xc_admin
|
||||
|
||||
RUN npx lerna run build --scope="{crank_executor,crank_pythnet_relayer}" --include-dependencies
|
||||
|
||||
WORKDIR /home/node/governance/xc_admin
|
||||
|
||||
CMD [ "npx", "node", "packages/crank_executor/lib/index.js" ]
|
|
@ -5,7 +5,7 @@
|
|||
"author": "",
|
||||
"homepage": "https://github.com/pyth-network/pyth-crosschain",
|
||||
"license": "ISC",
|
||||
"main": "src/index.ts",
|
||||
"main": "lib/index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/pyth-network/pyth-crosschain.git"
|
||||
|
|
Loading…
Reference in New Issue