We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HEALTHCHECK
1 parent 711218a commit 771fd38Copy full SHA for 771fd38
1 file changed
Dockerfile
@@ -119,7 +119,7 @@ FROM wolfi-base AS api-runtime
119
120
# Install Python and make it available to venv entrypoints
121
ARG PYTHON_VERSION
122
-RUN apk add curl python-${PYTHON_VERSION} && \
+RUN apk add python-${PYTHON_VERSION} && \
123
mkdir /build/ && ln -s /usr/local/ /build/.venv
124
125
WORKDIR /app
@@ -140,7 +140,7 @@ ENTRYPOINT ["/app/scripts/run-docker.sh"]
140
CMD ["migrate-and-serve"]
141
142
HEALTHCHECK --interval=2s --timeout=2s --retries=3 --start-period=20s \
143
- CMD curl -f http://localhost:8000/health/liveness || exit 1
+ CMD flagsmith healthcheck tcp
144
145
# * api-runtime-private [api-runtime]
146
FROM api-runtime AS api-runtime-private
0 commit comments