File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ .dockerignore
2+ Dockerfile
13node_modules /*
24dist /*
35tmp /*
Original file line number Diff line number Diff line change 22# Build with: docker build -t $USER/angular2:$(git rev-list -n 1 HEAD) .
33FROM node:5.7.1
44MAINTAINER Alex Eagle
5+ WORKDIR /home
56
67# Copy the minimal file to create a node_modules directory.
78# This takes advantage of docker's caching, so that the npm install
89# is only re-run when the npm-shrinkwrap.json was modified.
9- COPY npm-shrinkwrap.json /home/
10- WORKDIR /home
10+ COPY npm-shrinkwrap.json .
1111RUN npm install --no-progress
1212
13- COPY . /home/
13+ COPY . .
1414
1515# Allow the build to run as root. In a long-lived docker container,
1616# this is a security vulnerability, but we don't have a CMD so our
You can’t perform that action at this time.
0 commit comments