Skip to content

Commit bfad769

Browse files
authored
Merge pull request #231 from chorrell/NODE_ENV
Add NODE_ENV ARG to all Dockerfiles
2 parents 3502ce7 + 3e39810 commit bfad769

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

0.10/onbuild/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:0.10.46
33
RUN mkdir -p /usr/src/app
44
WORKDIR /usr/src/app
55

6+
ONBUILD ARG NODE_ENV
67
ONBUILD COPY package.json /usr/src/app/
78
ONBUILD RUN npm install
89
ONBUILD COPY . /usr/src/app

0.12/onbuild/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:0.12.15
33
RUN mkdir -p /usr/src/app
44
WORKDIR /usr/src/app
55

6+
ONBUILD ARG NODE_ENV
67
ONBUILD COPY package.json /usr/src/app/
78
ONBUILD RUN npm install
89
ONBUILD COPY . /usr/src/app

4.5/onbuild/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:4.5.0
33
RUN mkdir -p /usr/src/app
44
WORKDIR /usr/src/app
55

6+
ONBUILD ARG NODE_ENV
67
ONBUILD COPY package.json /usr/src/app/
78
ONBUILD RUN npm install
89
ONBUILD COPY . /usr/src/app

6.6/onbuild/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:6.6.0
33
RUN mkdir -p /usr/src/app
44
WORKDIR /usr/src/app
55

6+
ONBUILD ARG NODE_ENV
67
ONBUILD COPY package.json /usr/src/app/
78
ONBUILD RUN npm install
89
ONBUILD COPY . /usr/src/app

0 commit comments

Comments
 (0)