Skip to content

Commit 1f7b669

Browse files
committed
fix: docker versions
1 parent 842bf29 commit 1f7b669

File tree

3 files changed

+4
-72
lines changed

3 files changed

+4
-72
lines changed

docker/erc20-deployer/Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,4 @@ ENV PK_ETH_WALLET="${PK_ETH_WALLET}"
2626
EXPOSE ${PORT}
2727

2828
# copy over script and run
29-
CMD ["pnpm", "start"]
30-
31-
32-
# L1_CHAIN_HTTP=http://localhost:8545 \
33-
# FUEL_GRAPHQL_ENDPOINT=http://localhost:4000/graphql \
34-
# DEPLOYMENTS_HTTP=http://localhost:8080 \
35-
# PK_ETH_WALLET=59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d \
36-
# pnpm start
29+
CMD ["pnpm", "start"]

docker/l1-chain/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# ====== Build Image ======
2-
FROM node:20-alpine AS BUILD_IMAGE
2+
FROM node:18-alpine AS BUILD_IMAGE
33

44
# dependencies
55
RUN apk --no-cache add git
66
RUN npm i -g pnpm
77

8-
98
# set workdir
109
WORKDIR /l1chain
1110

@@ -18,7 +17,7 @@ ADD ./.fuelChainConsts.env /l1chain/portal-contracts/.fuelChainConsts.env
1817
WORKDIR /l1chain/portal-contracts
1918

2019
# build the ethereum contracts and environment
21-
RUN pnpm install --force
20+
RUN pnpm install
2221
# replace the fuel chain consts values and change contract code
2322
RUN pnpm ts-node scripts/replaceFuelChainConsts.ts
2423
# run contract compile with the new consts
@@ -29,7 +28,7 @@ RUN pnpm compile
2928
COPY ./hardhat/hardhat.config.ts .
3029

3130
# ====== Final Image ======
32-
FROM node:20-alpine
31+
FROM node:18-alpine
3332

3433
ARG L1_IP=0.0.0.0
3534
ARG L1_PORT=8545

pnpm-lock.yaml

-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)