File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ ARG GID=1000
4141RUN apt-get update && apt-get install -y --no-install-recommends \
4242 ca-certificates \
4343 tzdata \
44+ wget \
4445 && rm -rf /var/lib/apt/lists/*
4546
4647ENV TZ=Etc/UTC
@@ -65,10 +66,10 @@ ARG PORT=8000
6566ENV PORT=${PORT}
6667EXPOSE ${PORT}
6768
68- # Add health check (using wget since curl isn't in Alpine by default)
69+ # Add health check
6970HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
70- CMD curl --fail http://localhost:${PORT}/health || exit 1
71+ CMD wget --no-verbose --tries=1 --spider http://localhost:${PORT}/health || exit 1
7172
7273# Use ENTRYPOINT for the executable and CMD for default arguments
7374ENTRYPOINT ["/usr/src/app/livecards" ]
74- CMD [ " 0.0.0.0:${PORT}" ]
75+ CMD 0.0.0.0:${PORT}
You can’t perform that action at this time.
0 commit comments