feat: add healthcheck endpoints, Dockerfiles, and admin middleware configuration
This commit is contained in:
@@ -17,5 +17,8 @@ RUN chown -R nextjs:nodejs /app
|
||||
|
||||
USER nextjs
|
||||
|
||||
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s --retries=5 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
|
||||
|
||||
# On lance directement via npm
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user