Skip to content

Instantly share code, notes, and snippets.

@svnlto
Last active December 9, 2022 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save svnlto/ab90628da660f6d6c46f7c847f618a7a to your computer and use it in GitHub Desktop.
Save svnlto/ab90628da660f6d6c46f7c847f618a7a to your computer and use it in GitHub Desktop.
FROM comaeio/lemur
MAINTAINER Sven Lito me@svenlito.com
ENV NODE_ENV=development
WORKDIR /tmp
COPY package.json package.json
RUN npm install && npm cache clean
RUN cp -a /tmp/node_modules /usr/src/app/
RUN rm -rf /tmp/*
WORKDIR /usr/src/app/
EXPOSE 3000
EXPOSE 4000
COPY . .
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment