mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
docker: remove serve command from entrypoint in alpine
This commit is contained in:
parent
4f5c67e7df
commit
3479a7e438
2 changed files with 2 additions and 2 deletions
|
@ -28,4 +28,4 @@ VOLUME [ "/data", "/srv/sftpgo/config", "/srv/sftpgo/backups" ]
|
|||
EXPOSE 2022 8080
|
||||
|
||||
ENTRYPOINT ["/bin/entrypoint.sh"]
|
||||
CMD []
|
||||
CMD ["serve"]
|
|
@ -4,4 +4,4 @@ set -eu
|
|||
|
||||
chown -R "${PUID}:${GUID}" /data /etc/sftpgo /srv/sftpgo/config /srv/sftpgo/backups \
|
||||
&& exec su-exec "${PUID}:${GUID}" \
|
||||
/bin/sftpgo serve "$@"
|
||||
/bin/sftpgo "$@"
|
||||
|
|
Loading…
Reference in a new issue