We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a85a9 commit 5e46608Copy full SHA for 5e46608
Dockerfile
@@ -46,7 +46,7 @@ LABEL maintainer="Jan Kuri <jan@bleenco.com>" \
46
47
WORKDIR /app
48
49
-RUN apk --no-cache add tini sqlite git
+RUN apk --no-cache add tini sqlite git wget
50
51
COPY --from=base /usr/bin/node /usr/bin/
52
COPY --from=base /usr/lib/libgcc* /usr/lib/libstdc* /usr/lib/
@@ -57,6 +57,9 @@ COPY --from=build /app/prod_node_modules ./node_modules
57
COPY --from=build /app/dist ./dist
58
COPY --from=build /app/src/files ./src/files
59
60
+HEALTHCHECK --interval=10s --timeout=2s --start-period=20s \
61
+ CMD wget -q -O- http://localhost:6500/status || exit 1
62
+
63
EXPOSE 6500
64
65
ENTRYPOINT ["/sbin/tini", "--"]
0 commit comments