Skip to content

Commit

Permalink
feat(dockerfile): add node 12 dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
  • Loading branch information
willsoto committed May 18, 2019
1 parent aa3454e commit 57fd8cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
coverage
dist
.vscode
typings
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:12-alpine

WORKDIR /src/app

RUN apk update &&\
apk upgrade &&\
apk add python make g++

COPY ./package.json ./yarn.lock ./

RUN ["yarn", "install", "--frozen-lockfile"]

0 comments on commit 57fd8cc

Please sign in to comment.