The next-generation file converter. Open source, fully local* and free forever.
feat(docker): add container healthchecks
azurejelly1a0235e41cd6
diff --git a/Dockerfile b/Dockerfileindex e076900..d995dd8 100644--- a/Dockerfile+++ b/Dockerfile@@ -28,4 +28,7 @@ FROM nginx:stable-alpineCOPY ./nginx/default.conf /etc/nginx/conf.d/default.conf-COPY --from=builder /app/build /usr/share/nginx/html\ No newline at end of file+COPY --from=builder /app/build /usr/share/nginx/html++HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \+ CMD curl --fail --silent --output /dev/null http://localhost || exit 1\ No newline at end of filediff --git a/nginx/default.conf b/nginx/default.confindex b8f487b..c4feb25 100644--- a/nginx/default.conf+++ b/nginx/default.conf@@ -1,5 +1,6 @@server {listen 80;+ listen [::]:80;server_name vert;root /usr/share/nginx/html;