Skip to content

Commit

Permalink
Fix node & yarn not found in webui build
Browse files Browse the repository at this point in the history
  • Loading branch information
abousselmi authored Oct 3, 2023
1 parent 40e7f8c commit 2a01fdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev apt-transport-https ca-certificates \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
&& bash -c 'source ~/.bashrc && nvm install --lts && npm install -g yarn'
&& bash -c 'source ~/.bashrc && nvm install --lts && npm install -g yarn' \
&& bash -c 'source ~/.bashrc && ln -s $(which node) $(which yarn) /usr/bin/'

# Clean apt cache
RUN apt-get clean

0 comments on commit 2a01fdc

Please sign in to comment.