Use $HOME and not hardcoded /home/node
This commit is contained in:
parent
5a5b3b4f31
commit
1025783ee9
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ USER $SRV_UID:$SRV_GID
|
|||
|
||||
ENV PATH "/app/node_modules/.bin:$PATH"
|
||||
|
||||
RUN ln -s /app/.bash_history /home/node/.bash_history \
|
||||
&& ln -s /app/.npmrc /home/node/.npmrc
|
||||
RUN ln -s /app/.bash_history $HOME/.bash_history \
|
||||
&& ln -s /app/.npmrc $HOME/.npmrc
|
||||
|
||||
VOLUME /app
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue