mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 23:28:39 +03:00
docker: remove serve command from entrypoint in alpine
This commit is contained in:
@@ -28,4 +28,4 @@ VOLUME [ "/data", "/srv/sftpgo/config", "/srv/sftpgo/backups" ]
|
|||||||
EXPOSE 2022 8080
|
EXPOSE 2022 8080
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/entrypoint.sh"]
|
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 \
|
chown -R "${PUID}:${GUID}" /data /etc/sftpgo /srv/sftpgo/config /srv/sftpgo/backups \
|
||||||
&& exec su-exec "${PUID}:${GUID}" \
|
&& exec su-exec "${PUID}:${GUID}" \
|
||||||
/bin/sftpgo serve "$@"
|
/bin/sftpgo "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user