Roy Crihfield
5406c8b644
upgrade deployer solc, node, modules rm selfdestruct (EIP-6780) redeploy to same address is no longer possible
13 lines
246 B
Docker
13 lines
246 B
Docker
# Downgrade from 18.16, see https://github.com/NomicFoundation/hardhat/issues/3877
|
|
FROM node:20-slim
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run compile && ls -lah
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["node", "src/index.js"]
|