[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 <bahjatia@gmail.com>
This commit is contained in:
parent
d978315ec8
commit
34347c8629
|
@ -37,7 +37,7 @@ jobs:
|
|||
env:
|
||||
AWS_REGION: us-east-1
|
||||
- run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
|
||||
DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
|
||||
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_service/server/Dockerfile .
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
env:
|
||||
|
|
|
@ -46,17 +46,11 @@ price service you should:
|
|||
|
||||
## Build an image
|
||||
|
||||
First, build the wasm files from [the repo root](../../) like below. This command generates the wasm files necessary
|
||||
for parsing Pyth messages coming from Wormhole and stores them on [this](../../wormhole_attester/sdk/js) directory.
|
||||
|
||||
```
|
||||
docker buildx build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
|
||||
```
|
||||
|
||||
Then, build the image from [the repo root](../../) like below. It will create a
|
||||
Build the image from [the repo root](../../) like below. It will create a
|
||||
local image named `pyth_price_server`.
|
||||
|
||||
```
|
||||
$ docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .
|
||||
$ docker buildx build -f price_service/server/Dockerfile -t pyth_price_server .
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue