mirror of
https://github.com/XFox111/easylogon-web.git
synced 2026-07-02 19:52:45 +03:00
feat: docker healthcheck
This commit is contained in:
@@ -31,4 +31,7 @@ WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/dist .
|
||||
EXPOSE 80
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s CMD wget --no-verbose --tries=1 --spider http://localhost/ || exit 1
|
||||
|
||||
CMD ["nginx"]
|
||||
|
||||
Reference in New Issue
Block a user