mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 06:48:04 +03:00
add HEALTHCHECK
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user