Skip to content

Commit

Permalink
Merge pull request #257 from Consensys/fix/ccip-gateway-build-args
Browse files Browse the repository at this point in the history
fix: build args for ccip-gateway
  • Loading branch information
Julink-eth authored Nov 25, 2024
2 parents 6aea232 + 5b44f47 commit 204744e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/linea-ccip-gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ FROM node:20-slim AS production

WORKDIR /usr/src/app

ARG L1_PROVIDER_URL
ARG L2_PROVIDER_URL
ARG L1_ROLLUP_ADDRESS
ARG L2_CHAIN_ID
ARG NODE_ENV

ENV L1_PROVIDER_URL=$L1_PROVIDER_URL
ENV L2_PROVIDER_URL=$L2_PROVIDER_URL
ENV L1_ROLLUP_ADDRESS=$L1_ROLLUP_ADDRESS
ENV L2_CHAIN_ID=$L2_CHAIN_ID
ENV NODE_ENV=$NODE_ENV

USER node

COPY --from=build /prod/linea-ccip-gateway .
Expand Down

0 comments on commit 204744e

Please sign in to comment.