diff --git a/Dockerfile b/Dockerfile index ff28f9d..d7411b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,15 +21,9 @@ RUN apt install -yqq zip unzip # install PHP 8.3 RUN apt install -yqq php8.3-cli php8.3-common php8.3-curl php8.3-imagick php8.3-intl php8.3-mbstring php8.3-opcache php8.3-readline php8.3-xml php8.3-zip -# install nvm & nodeJS +# install nvm & nodeJS & yarn RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash -RUN . /root/.bashrc && nvm install 22.14.0 && nvm use 22.14.0 - -# install yarn -RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null -RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list' -RUN apt update -RUN apt install -yqq yarn +RUN . /root/.bashrc && nvm install 22.14.0 && nvm use 22.14.0 && npm install -g yarn # install git RUN apt install -yqq git