mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-24 12:59:24 -05:00
Create volume for /etc/ssh for persistent host keys
This commit is contained in:
parent
0e8ee2bd40
commit
2f921b9dfc
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ 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"]
|
||||||
|
|
Loading…
Reference in a new issue