Created
November 1, 2018 00:49
-
-
Save tinyjin/d59e31d9c9b75a15487de14b956ca1d5 to your computer and use it in GitHub Desktop.
Dockerfile for nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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