diff --git a/ui/Dockerfile b/ui/Dockerfile index 6d4013f..7be35c3 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -23,8 +23,9 @@ COPY --from=build /app/dist/ /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf +EXPOSE 80 + HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://localhost:80 || exit 1 -EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]