Skip to content

Commit

Permalink
Merge pull request #30 from pluralsight-projects/dockerfile
Browse files Browse the repository at this point in the history
Add Dockerfile
  • Loading branch information
jonfriskics authored Oct 25, 2018
2 parents bce7d43 + 6b1b0eb commit 3a9c714
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 3a9c714

Please sign in to comment.