Skip to content

Commit 34347c8

Browse files
[price-service] Remove wasm from readme and workflow (#548)
* Remove wasm from readme and workflow * Update CI and Readme with lerna --------- Co-authored-by: Ali Behjati <[email protected]>
1 parent d978315 commit 34347c8

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/price-server-image-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
env:
3838
AWS_REGION: us-east-1
3939
- run: |
40-
DOCKER_BUILDKIT=1 docker build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
40+
DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
4141
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_service/server/Dockerfile .
4242
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4343
env:

price_service/server/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,11 @@ price service you should:
4646

4747
## Build an image
4848

49-
First, build the wasm files from [the repo root](../../) like below. This command generates the wasm files necessary
50-
for parsing Pyth messages coming from Wormhole and stores them on [this](../../wormhole_attester/sdk/js) directory.
51-
52-
```
53-
docker buildx build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
54-
```
55-
56-
Then, build the image from [the repo root](../../) like below. It will create a
49+
Build the image from [the repo root](../../) like below. It will create a
5750
local image named `pyth_price_server`.
5851

5952
```
53+
$ docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .
6054
$ docker buildx build -f price_service/server/Dockerfile -t pyth_price_server .
6155
```
6256

0 commit comments

Comments
 (0)