Skip to content

Commit 771fd38

Browse files
committed
change the HEALTHCHECK
1 parent 711218a commit 771fd38

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ FROM wolfi-base AS api-runtime
119119

120120
# Install Python and make it available to venv entrypoints
121121
ARG PYTHON_VERSION
122-
RUN apk add curl python-${PYTHON_VERSION} && \
122+
RUN apk add python-${PYTHON_VERSION} && \
123123
mkdir /build/ && ln -s /usr/local/ /build/.venv
124124

125125
WORKDIR /app
@@ -140,7 +140,7 @@ ENTRYPOINT ["/app/scripts/run-docker.sh"]
140140
CMD ["migrate-and-serve"]
141141

142142
HEALTHCHECK --interval=2s --timeout=2s --retries=3 --start-period=20s \
143-
CMD curl -f http://localhost:8000/health/liveness || exit 1
143+
CMD flagsmith healthcheck tcp
144144

145145
# * api-runtime-private [api-runtime]
146146
FROM api-runtime AS api-runtime-private

0 commit comments

Comments
 (0)