2023-04-14 06:26:46 +00:00
|
|
|
# Downgrade from 18.16, see https://github.com/NomicFoundation/hardhat/issues/3877
|
|
|
|
FROM node:18.15-slim
|
2021-04-19 08:32:36 +00:00
|
|
|
|
|
|
|
ARG ETH_ADDR
|
|
|
|
ENV ETH_ADDR $ETH_ADDR
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
|
|
RUN npm run compile && ls -lah
|
|
|
|
|
|
|
|
EXPOSE 3000
|
|
|
|
|
2023-04-14 06:26:46 +00:00
|
|
|
ENTRYPOINT ["node", "src/index.js"]
|