add docker healthcheck
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-01-29 20:44:55 +01:00
parent c27aac434c
commit 228912b257
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -11,3 +11,4 @@ FROM nginx:1.25-alpine3.18
COPY --from=build /app/build /app COPY --from=build /app/build /app
COPY data /app/data 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