2023-04-14 06:26:46 +00:00
|
|
|
# Downgrade from 18.16, see https://github.com/NomicFoundation/hardhat/issues/3877
|
2024-05-29 12:29:55 +00:00
|
|
|
FROM node:20-slim
|
2021-04-19 08:32:36 +00:00
|
|
|
|
|
|
|
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"]
|