Skip to content

Commit 8acbf69

Browse files
authored
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
1 parent a6ae553 commit 8acbf69

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

apps/price_pusher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pnpm run start solana \
174174
175175
176176
# Or, run the price pusher docker image instead of building from the source
177-
docker run public.ecr.aws/pyth-network/xc-price-pusher:v<version> -- <above-arguments>
177+
docker run public.ecr.aws/pyth-network/xc-price-pusher:v<version> -- npm run start -- <above-arguments>
178178
```
179179

180180
[hermes]: https://github.com/pyth-network/pyth-crosschain/tree/main/apps/hermes

apps/price_pusher/docker-compose.beta.sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ services:
1616
image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
1717
restart: always
1818
command:
19+
- "npm"
20+
- "run"
21+
- "start"
1922
- "--"
2023
- "evm"
2124
- "--endpoint"

apps/price_pusher/docker-compose.stable.sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ services:
1616
image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
1717
restart: always
1818
command:
19+
- "npm"
20+
- "run"
21+
- "start"
1922
- "--"
2023
- "evm"
2124
- "--endpoint"

0 commit comments

Comments
 (0)