Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Nov 8, 2024
1 parent fc056ff commit a520b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/push-price-pusher-image.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build and Push Price Pusher Image
on:
push:
tags:
- pyth-price-pusher-v*
pull:
workflow_dispatch:
inputs:
dispatch_description:
Expand Down Expand Up @@ -40,7 +38,6 @@ jobs:
id: ecr_login
- run: |
DOCKER_BUILDKIT=1 docker build --build-arg package="@pythnetwork/price-pusher" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile.node .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
env:
ECR_REGISTRY: public.ecr.aws
ECR_REPOSITORY: pyth-network/xc-price-pusher
2 changes: 1 addition & 1 deletion Dockerfile.node
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20.17.0-slim@sha256:2394e403d45a644e41ac2a15b6f843a7d4a99ad24be48c2798
WORKDIR /usr/src/pyth
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN apt-get update && apt-get install -y git python3 make gcc g++ && corepack enable
RUN apt-get update && apt-get install -y git python3 make gcc g++ curl && corepack enable
COPY ./ .
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

Expand Down

0 comments on commit a520b41

Please sign in to comment.