0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Remove /etc/ssh volume, ref. #43

This commit is contained in:
Adrian Dvergsdal 2016-07-31 17:07:03 +02:00
parent 23ba4072a8
commit 0b4deb0e9a

View file

@ -10,13 +10,10 @@ RUN apt-get update && \
rm -f /etc/ssh/ssh_host_*key* && \ rm -f /etc/ssh/ssh_host_*key* && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY sshd_config /etc/ssh/sshd_config COPY sshd_config /etc/ssh/sshd_config
COPY entrypoint / COPY entrypoint /
COPY README.md / COPY README.md /
VOLUME /etc/ssh
EXPOSE 22 EXPOSE 22
ENTRYPOINT ["/entrypoint"] ENTRYPOINT ["/entrypoint"]