diff --git a/Dockerfile b/Dockerfile index aa48e82..50f2410 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,8 +75,5 @@ COPY motd /etc/motd EXPOSE 22 +CMD ["sh", "-c", "echo escape-room > /etc/hostname && /usr/sbin/sshd -D"] -CMD ["sh", "-c", "echo escape-room > /etc/hostname && exec bash"] - - -CMD ["/usr/sbin/sshd","-D"]