Add healthcheck
This commit is contained in:
parent
c362032aea
commit
d078d67d58
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ RUN npm run build
|
|||
|
||||
FROM nginx:alpine
|
||||
|
||||
HEALTHCHECK --interval=1m --timeout=10s CMD curl --fail http://localhost/ || exit 1
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
RUN rm -rf *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue