Skip to content

Commit 0fc3e93

Browse files
authored
Correct location of ARG instruction
1 parent aa53b15 commit 0fc3e93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile-onbuild.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM node:0.0.0
22

3-
ARG NODE_ENV
4-
53
RUN mkdir -p /usr/src/app
64
WORKDIR /usr/src/app
75

6+
ONBUILD ARG NODE_ENV
87
ONBUILD COPY package.json /usr/src/app/
98
ONBUILD RUN npm install
109
ONBUILD COPY . /usr/src/app

0 commit comments

Comments
 (0)