fix nvm directory permission

This commit is contained in:
anthorob committed 2025-07-10 10:41:10 -04:00
1 parent b5abf41fb0
commit 9faad93986
3 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php7.4 74 && \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
USER coder
ENV NVM_DIR=/home/coder/.nvm
RUN mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
USER coder
WORKDIR /home/coder
+3 -1
View File
@@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.0 80 && \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
USER coder
ENV NVM_DIR=/home/coder/.nvm
RUN mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
USER coder
WORKDIR /home/coder
+3 -1
View File
@@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.2 82 && \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
USER coder
ENV NVM_DIR=/home/coder/.nvm
RUN mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
USER coder
WORKDIR /home/coder