Dockerfile: healthcheck dont use sh
- interpreter already set in the scripts not need to use /bin/sh -c Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ RUN chmod +x /healthcheck.sh
|
||||
VOLUME ["${TXOO_DATA}"]
|
||||
|
||||
HEALTHCHECK --interval=5s --timeout=10s --start-period=5s \
|
||||
CMD ["/bin/sh", "-c", "/healthcheck.sh"]
|
||||
CMD ["/healthcheck.sh"]
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["txood"]
|
||||
|
||||
Reference in New Issue
Block a user