diff --git a/packages/linea-ccip-gateway/Dockerfile b/packages/linea-ccip-gateway/Dockerfile index c1ebbcc1c..a8c7d1b18 100644 --- a/packages/linea-ccip-gateway/Dockerfile +++ b/packages/linea-ccip-gateway/Dockerfile @@ -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 .