Skip to content

Commit 5a51aae

Browse files
authored
Merge pull request #47 from rm-yakovenko/Refactor-node
Refactor - node version arg
2 parents 729584d + f4deb08 commit 5a51aae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/app/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ RUN apt-get -y update && \
1616
RUN curl -Lo /usr/bin/composer https://getcomposer.org/composer-stable.phar && \
1717
chmod +x /usr/bin/composer
1818

19-
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash && \
19+
ARG NODE_VERSION=16
20+
21+
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash && \
2022
apt-get install -y nodejs
2123

2224
ARG CONTAINER_USER

0 commit comments

Comments
 (0)