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 bda4542 commit b7b7d10Copy full SHA for b7b7d10
Dockerfile
@@ -22,6 +22,8 @@ RUN <<EOT
22
npm run build:min
23
EOT
24
25
+HEALTHCHECK CMD [ "test", "-e", "root/assets/assets.json" ]
26
+
27
################### Web Server
28
# hadolint ignore=DL3007
29
FROM metacpan/metacpan-base:latest AS server
@@ -62,6 +64,8 @@ CMD [ \
62
64
63
65
EXPOSE 80
66
67
+HEALTHCHECK --start-period=3s CMD [ "curl", "--fail", "http://localhost/healthcheck" ]
68
69
################### Development Server
70
FROM server AS develop
71
0 commit comments