[xc-admin] Add dockerfile (#556)

* Add dockerfile

* Dockerfile for xc-admin

* Add dockerfile
This commit is contained in:
guibescos 2023-02-01 16:57:24 -06:00 committed by GitHub
parent e49fc3a13d
commit f4d18167cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -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" ]

View File

@ -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"