Переглянути джерело

fix(apps/price_pusher): add npm run to docker commands (#1772)

* fix(apps/price_pusher): add npm run to docker compose command

* fix(apps/price_pusher): update docker command in readme
Ali Behjati 1 рік тому
батько
коміт
8acbf69e6a

+ 1 - 1
apps/price_pusher/README.md

@@ -174,7 +174,7 @@ pnpm run start solana \
 
 
 # Or, run the price pusher docker image instead of building from the source
-docker run public.ecr.aws/pyth-network/xc-price-pusher:v<version> -- <above-arguments>
+docker run public.ecr.aws/pyth-network/xc-price-pusher:v<version> -- npm run start -- <above-arguments>
 ```
 
 [hermes]: https://github.com/pyth-network/pyth-crosschain/tree/main/apps/hermes

+ 3 - 0
apps/price_pusher/docker-compose.beta.sample.yaml

@@ -16,6 +16,9 @@ services:
     image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
     restart: always
     command:
+      - "npm"
+      - "run"
+      - "start"
       - "--"
       - "evm"
       - "--endpoint"

+ 3 - 0
apps/price_pusher/docker-compose.stable.sample.yaml

@@ -16,6 +16,9 @@ services:
     image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
     restart: always
     command:
+      - "npm"
+      - "run"
+      - "start"
       - "--"
       - "evm"
       - "--endpoint"