Skip to content

Commit fcc784b

Browse files
Fix nodejs install to the Dockerfile
1 parent d6822de commit fcc784b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
77
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
88
&& php -r "unlink('composer-setup.php');"
99

10-
RUN curl -fsSL https://nodistro.nodesource.com/setup_22.12.0 | bash -
11-
RUN apt-get install -y nodejs npm
10+
RUN curl -fsSL https://nodistro.nodesource.com/setup_22.12.0 | bash - \
11+
&& apt-get install -y nodejs npm
1212

1313
WORKDIR /app
1414

0 commit comments

Comments
 (0)