eth-state-metrics/Dockerfile

15 lines
153 B
Docker
Raw Normal View History

2020-12-04 19:48:57 +00:00
FROM node:15.3.0-alpine3.10
2020-12-04 17:00:13 +00:00
# Create app directory
WORKDIR /app
COPY package*.json ./
RUN yarn
COPY . .
EXPOSE 3000
2020-12-04 19:48:57 +00:00
CMD ["node", "./src/index.js"]