Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/price-server-image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 2 additions & 8 deletions price_service/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
```

Expand Down