File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ EXPOSE 3000
1010# System Environment Variables
1111ENV PATH="/opt/vscode:${PATH}"
1212ENV HOME="/data/home"
13- ENV SHELL="/bin/bash"
1413
1514# User Set Environment Variables
1615# Set to false if you do not want to attempt to pull a repository on first load
Original file line number Diff line number Diff line change 77# # create a non-root user. Not needed for node image
88# useradd -m -d /data/home dev-user
99
10- # set the default shell to the chosen shell
11- usermod --shell ${SHELL} 1000
10+ # set new home directory
11+ usermod -d /data/home node
1212
1313# Add the ability to set file permissions on /data to the non-privileged user
1414echo " ALL ALL=NOPASSWD: /bin/chown -R 1000\:1000 /data" >> /etc/sudoers
You can’t perform that action at this time.
0 commit comments