2023-06-21 23:25:27 +00:00
|
|
|
# Downgrade from 18.16, see https://github.com/NomicFoundation/hardhat/issues/3877
|
|
|
|
FROM node:18.15-slim
|
2022-01-20 13:22:01 +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-06-21 23:25:27 +00:00
|
|
|
ENTRYPOINT ["node", "src/index.js"]
|