forked from matter-labs/era-fee-withdrawer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (27 loc) · 811 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM node:14
WORKDIR /usr/src/fee-withdrawer-v2
COPY . .
RUN yarn install
# required env
# ENV MISC_FEE_ACCOUNT_PRIVATE_KEY
# ENV OPERATOR_ADDRESS
# ENV WITHDRAWAL_FINALIZER_ETH_ADDRESS
# ENV MISC_RESERVE_FEE_ACCUMULATOR_ADDRESS
# ENV L1_RPC_ADDRESS
# ENV ZKSYNC_WEB3_API_URL
# ENV MISC_MAX_LIQUIDATION_FEE_PERCENT
# ENV ZKSYNC_WEB3_API_URL
# ENV LOWER_BOUND_OPERATOR_THRESHOLD
# ENV UPPER_BOUND_OPERATOR_THRESHOLD
# ENV LOWER_BOUND_WITHDRAWER_THRESHOLD
# ENV UPPER_BOUND_WITHDRAWER_THRESHOLD
# ENV LOWER_BOUND_PAYMASTER_THRESHOLD
# ENV UPPER_BOUND_PAYMASTER_THRESHOLD
# optional env
# ENV WATCHDOG_ADDRESS
# ENV LOWER_BOUND_WATCHDOG_THRESHOLD
# ENV UPPER_BOUND_WATCHDOG_THRESHOLD
# ENV L1_ETH_TRANSFER_THRESHOLD
# ENV L2_ETH_TRANSFER_THRESHOLD
# ENV CONTRACTS_L2_TESTNET_PAYMASTER_ADDR
CMD ["yarn", "start"]