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 1f766ba commit 94fd824Copy full SHA for 94fd824
tools/hashing-tool/Dockerfile
@@ -11,13 +11,18 @@ COPY app.css /usr/share/nginx/html/app.css
11
COPY entrypoint.sh /entrypoint.sh
12
RUN chmod +x /entrypoint.sh
13
14
-# Configure nginx to serve on port 3071
+# Configure nginx to serve on port 3071 with healthcheck
15
RUN echo 'server { \
16
listen 3071; \
17
location / { \
18
root /usr/share/nginx/html; \
19
index index.html; \
20
} \
21
+ location = /ops/healthcheck { \
22
+ access_log off; \
23
+ return 200 "OK"; \
24
+ add_header Content-Type text/plain; \
25
+ } \
26
}' > /etc/nginx/conf.d/default.conf
27
28
EXPOSE 3071
0 commit comments