docker: remove serve command from entrypoint in alpine

This commit is contained in:
Enes Çakır 2020-02-14 16:51:12 +03:00 committed by drakkan
parent 4f5c67e7df
commit 3479a7e438
2 changed files with 2 additions and 2 deletions

View file

@ -28,4 +28,4 @@ VOLUME [ "/data", "/srv/sftpgo/config", "/srv/sftpgo/backups" ]
EXPOSE 2022 8080
ENTRYPOINT ["/bin/entrypoint.sh"]
CMD []
CMD ["serve"]

View file

@ -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 "$@"