Explicitly close entrypoint options

This commit is contained in:
flow.gunso
2020-01-06 18:28:33 +01:00
parent 7543a06f51
commit 179c70a4fa

View File

@@ -71,7 +71,6 @@ COPY seafile-healthcheck.sh /home/seafuser/healthcheck.sh
COPY seafile-entrypoint.sh /home/seafuser/entrypoint.sh COPY seafile-entrypoint.sh /home/seafuser/entrypoint.sh
COPY tests /tests COPY tests /tests
# Set bash as the entrypoint and run the entrypoint script from that. ENTRYPOINT ["/bin/bash", "--"]
ENTRYPOINT ["/bin/bash"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]
HEALTHCHECK --interval=5m --start-period=20s --retries=1 CMD ["su", "-", "${UNAME}", "-c", "/healthcheck.sh"] HEALTHCHECK --interval=5m --start-period=20s --retries=1 CMD ["su", "-", "${UNAME}", "-c", "/healthcheck.sh"]