diff --git a/server/Dockerfile b/server/Dockerfile index 5865c6be4..892ecab4c 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -3,4 +3,5 @@ WORKDIR /app COPY . /app RUN apt-get update && rm -rf /var/lib/apt/lists/* RUN npm install -g pnpm && pnpm i +HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost/api/v1/status || exit 1 CMD pnpm start