sshd/Dockerfile
2023-09-03 00:13:04 +02:00

18 lines
307 B
Docker

FROM registry.sindominio.net/debian
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
#COPY sshd_config /etc/ssh/sshd_config
ADD entrypoint.sh /
ADD start.sh /
VOLUME /home/user/httpdocs
EXPOSE 22
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
CMD ["/bin/sh", "/start.sh"]