riddhiman commited on
Commit
62d65eb
·
verified ·
1 Parent(s): 47b8751

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -5
Dockerfile CHANGED
@@ -9,11 +9,6 @@ EXPOSE 7860
9
  ENV JAVA_OPTS="-Xmx1024M -Xms1024M"
10
  ENV EULA=true
11
 
12
- # Create a new user and adjust permissions accordingly
13
- # -m creates the user's home directory
14
- # -d specifies the user's home directory
15
- # -s specifies the user's shell
16
- # Using /bin/false to disable shell access for the user
17
  RUN useradd -m -d /minecraft -s /bin/false minecraft && chown -R minecraft:minecraft /minecraft
18
 
19
  USER minecraft
 
9
  ENV JAVA_OPTS="-Xmx1024M -Xms1024M"
10
  ENV EULA=true
11
 
 
 
 
 
 
12
  RUN useradd -m -d /minecraft -s /bin/false minecraft && chown -R minecraft:minecraft /minecraft
13
 
14
  USER minecraft