FROM node
WORKDIR /app
ADD package.json package-lock.json contract-addresses.json .env /app/
ADD src/ /app/src/
ADD contractArtifacts/ /app/contractArtifacts/
RUN npm ci
ENTRYPOINT ["node", "src/index.js"]