Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Will <will-soto@pluralsight.com>
  • Loading branch information
Will committed Oct 24, 2018
1 parent bce7d43 commit 6b1b0eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:9.9-alpine

ENV APP_DIR /src/app/

RUN mkdir -p $APP_DIR

ADD ./package.json ${APP_DIR}

WORKDIR $APP_DIR

RUN ["npm", "install"]

COPY . .

0 comments on commit 6b1b0eb

Please sign in to comment.