Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Commit

Permalink
Update Nodejs version 8 to 10 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
shinebayar-g committed May 23, 2019
1 parent 48f045b commit 1c4eb0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:8-slim
FROM node:10-slim
WORKDIR /erxes-widgets-api/
COPY prod /erxes-widgets-api
RUN chown -R node:node /erxes-widgets-api
USER node
EXPOSE 3100
CMD ["yarn", "start"]
CMD ["node", "--max_old_space_size=8192", "dist"]

0 comments on commit 1c4eb0f

Please sign in to comment.