sshd/Dockerfile

18 lines
306 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
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"]