mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-05-31 08:37:58 +00:00
Disable CMD as shell text
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user