add docker healthcheck
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c27aac434c
commit
228912b257
1 changed files with 2 additions and 1 deletions
|
@ -10,4 +10,5 @@ RUN yarn build
|
|||
FROM nginx:1.25-alpine3.18
|
||||
COPY --from=build /app/build /app
|
||||
COPY data /app/data
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
HEALTHCHECK CMD curl -fsS -m 10 -o /dev/null http://localhost:8080
|
||||
|
|
Loading…
Reference in a new issue