Skip to content

Instantly share code, notes, and snippets.

@tinyjin
Created November 1, 2018 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tinyjin/d59e31d9c9b75a15487de14b956ca1d5 to your computer and use it in GitHub Desktop.
Save tinyjin/d59e31d9c9b75a15487de14b956ca1d5 to your computer and use it in GitHub Desktop.
Dockerfile for nodejs
FROM node:latest
MAINTAINER Jinui You <baram991103@gmail.com>
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN npm install
ENV NODE_ENV development
EXPOSE 3000 8888
CMD ["node", "api"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment