sshd/Dockerfile

18 lines
307 B
Docker
Raw Normal View History

2022-02-26 19:27:02 +01:00
FROM registry.sindominio.net/debian
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
2023-09-03 00:13:04 +02:00
#COPY sshd_config /etc/ssh/sshd_config
2022-02-26 19:27:02 +01:00
ADD entrypoint.sh /
ADD start.sh /
VOLUME /home/user/httpdocs
EXPOSE 22
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
CMD ["/bin/sh", "/start.sh"]