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"]
|