mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 08:18:12 +03:00
can remove the start period now that build is done in image
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ RUN chown node:node /app
|
||||
USER node
|
||||
RUN pnpm i --silent
|
||||
RUN pnpx tsc --project tsconfig.build.json
|
||||
HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost:8080/api/v1/status || exit 1
|
||||
HEALTHCHECK --interval=15s --timeout=5s --start-period=0s CMD curl -f http://localhost:8080/api/v1/status || exit 1
|
||||
ENV NODE_PATH=js/
|
||||
CMD ["node", "js/main.js"]
|
||||
|
||||
Reference in New Issue
Block a user