mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 02:34:43 +00:00
fix dev build
This commit is contained in:
parent
722eaa64ed
commit
f3c4a6afbf
2 changed files with 2 additions and 3 deletions
|
|
@ -10,7 +10,6 @@ EXPOSE 3000
|
|||
# System Environment Variables
|
||||
ENV PATH="/opt/vscode:${PATH}"
|
||||
ENV HOME="/data/home"
|
||||
ENV SHELL="/bin/bash"
|
||||
|
||||
# User Set Environment Variables
|
||||
# Set to false if you do not want to attempt to pull a repository on first load
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ set -ex
|
|||
# # create a non-root user. Not needed for node image
|
||||
# useradd -m -d /data/home dev-user
|
||||
|
||||
# set the default shell to the chosen shell
|
||||
usermod --shell ${SHELL} 1000
|
||||
# set new home directory
|
||||
usermod -d /data/home node
|
||||
|
||||
# Add the ability to set file permissions on /data to the non-privileged user
|
||||
echo "ALL ALL=NOPASSWD: /bin/chown -R 1000\:1000 /data" >> /etc/sudoers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue