We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e64f74 + 55428bf commit 0317655Copy full SHA for 0317655
1 file changed
Dockerfile
@@ -21,6 +21,7 @@ RUN npm prune --production
21
### Runtime stage
22
FROM node:20-alpine AS runtime
23
ENV NODE_ENV=production
24
+RUN apk add --no-cache curl
25
26
WORKDIR /app
27
@@ -46,7 +47,6 @@ USER node
46
47
EXPOSE 5150 5151
48
49
# Healthcheck: perform lightweight HTTP request to ensure app responding
-RUN apk add --no-cache curl
50
HEALTHCHECK --interval=30s --timeout=5s --start-period=45s --retries=5 \
51
CMD curl -fsS http://127.0.0.1:5150/config/appVersion?health || exit 1
52
0 commit comments