Yahir commited on
Commit
b149a8a
1 Parent(s): 7815590

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -8,6 +8,11 @@ RUN npm i -g yarn
8
  RUN yarn global add wetty
9
 
10
  RUN echo 'root:root' | chpasswd
 
 
 
 
 
11
  EXPOSE 7860
12
 
13
  CMD ["wetty", "-p 7860", "--allow-remote-hosts"]
 
8
  RUN yarn global add wetty
9
 
10
  RUN echo 'root:root' | chpasswd
11
+ # Crear usuario con UID 1000
12
+ RUN useradd -u 1000 myuser
13
+
14
+ # Establecer contraseña para el usuario
15
+ RUN echo 'myuser:mypassword' | chpasswd
16
  EXPOSE 7860
17
 
18
  CMD ["wetty", "-p 7860", "--allow-remote-hosts"]