Skip to content

Commit 87220df

Browse files
committed
Added default arguments for node Dockerfile
1 parent ae56313 commit 87220df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

node/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ RUN apt-get update &&\
44
apt-get install -y npm &&\
55
npm install -g n
66

7-
ARG NODE_ENV
8-
ARG NODE_VERSION
9-
ARG PROJECT_PATH
10-
ARG YARN
7+
ARG NODE_ENV=production
8+
ARG NODE_VERSION=latest
9+
ARG PROJECT_PATH=/opt/app/
10+
ARG YARN=false
1111

1212
ENV YARN=$YARN
1313
ENV PROJECT_PATH=$PROJECT_PATH

0 commit comments

Comments
 (0)