Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -13,10 +13,8 @@ RUN useradd -u 1000 xd
|
|
13 |
|
14 |
# Establecer contraseña para el usuario
|
15 |
RUN echo 'xd:xd' | chpasswd
|
16 |
-
RUN mkdir -p /etc/dropbear && dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key && dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key && dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key && dropbearkey -t ed25519 -f /etc/dropbear/dropbear_ed25519_host_key
|
17 |
-
|
18 |
|
19 |
|
20 |
EXPOSE 7860
|
21 |
|
22 |
-
CMD
|
|
|
13 |
|
14 |
# Establecer contraseña para el usuario
|
15 |
RUN echo 'xd:xd' | chpasswd
|
|
|
|
|
16 |
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
20 |
+
CMD dropbear -E -F -p 22 -v -B -r /dev/null && wetty -p 7860 --allow-remote-hosts && tail -f /dev/null
|