fix: install typescript when build

This commit is contained in:
bumpsoo 2025-04-04 11:02:18 +00:00
parent f3fb31a81d
commit adb1593a5a

View file

@ -57,7 +57,7 @@ ENV NVM_DIR=${HOME}/.nvm
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash \ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash \
&& . $NVM_DIR/nvm.sh \ && . $NVM_DIR/nvm.sh \
&& nvm install --lts \ && nvm install --lts \
&& npm install -g typescript-language-server && npm install -g typescript typescript-language-server
COPY --chown=${USERNAME}:${GID} ${CONFIG_PREFIX}.gitconfig /home/${USERNAME}/.gitconfig COPY --chown=${USERNAME}:${GID} ${CONFIG_PREFIX}.gitconfig /home/${USERNAME}/.gitconfig