Nexchan commited on
Commit
bbdab3a
1 Parent(s): 74ef551

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -49,6 +49,9 @@ RUN mkdir -p /home/nex/app && cd /home/nex/app && npm init -y && npm install pup
49
  # Create a non-root user
50
  RUN useradd -m -u 1000 nex
51
 
 
 
 
52
  # Install code-server
53
  RUN curl -fsSL https://code-server.dev/install.sh | sh
54
 
 
49
  # Create a non-root user
50
  RUN useradd -m -u 1000 nex
51
 
52
+ # Change ownership of the home directory to the non-root user
53
+ RUN chown -R nex:nex /home/nex
54
+
55
  # Install code-server
56
  RUN curl -fsSL https://code-server.dev/install.sh | sh
57