mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Dockerfile] [Fix] add missing leading slash in path
This commit is contained in:
parent
1eaaada499
commit
1de3333651
@ -86,7 +86,7 @@ RUN useradd -ms /bin/bash nvm
|
|||||||
|
|
||||||
# Copy and set permission for nvm directory
|
# Copy and set permission for nvm directory
|
||||||
COPY . /home/nvm/.nvm/
|
COPY . /home/nvm/.nvm/
|
||||||
RUN chown nvm:nvm -R "home/nvm/.nvm"
|
RUN chown nvm:nvm -R "/home/nvm/.nvm"
|
||||||
|
|
||||||
# Set sudoer for "nvm"
|
# Set sudoer for "nvm"
|
||||||
RUN echo 'nvm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
RUN echo 'nvm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
|
Loading…
Reference in New Issue
Block a user