Skip to content

Commit

Permalink
Merge pull request #147 from EYBlockchain/fabio/connection-resilience
Browse files Browse the repository at this point in the history
updated Dockerfile to build for production
  • Loading branch information
SwatiEY authored Nov 30, 2023
2 parents 7ca255b + 962ed16 commit 7e0d9f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion merkle-tree/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM node:11.15

ARG NODE_ENV=production
ENV NODE_ENV $NODE_ENV

WORKDIR /app

COPY ./package.json ./package-lock.json ./
COPY ./src ./src
COPY ./test ./test
COPY ./.babelrc ./
RUN npm ci
RUN npm ci --production

EXPOSE 80
CMD npm start

0 comments on commit 7e0d9f2

Please sign in to comment.