Disable CMD as shell text

This commit is contained in:
Pau RE
2024-09-04 10:46:14 +02:00
parent 241673885d
commit 9160ab9290
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ COPY backup.sh env.sh init.sh /
VOLUME /backups
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["exec /init.sh"]
ENTRYPOINT []
CMD ["/init.sh"]
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f "http://localhost:$HEALTHCHECK_PORT/" || exit 1
+2 -2
View File
@@ -54,8 +54,8 @@ COPY backup.sh env.sh init.sh /
VOLUME /backups
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["exec /init.sh"]
ENTRYPOINT []
CMD ["/init.sh"]
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f "http://localhost:$HEALTHCHECK_PORT/" || exit 1