build: add a healthcheck to the development Dockerfile

This commit is contained in:
Matouš Volf 2024-08-17 11:41:07 +02:00
parent 39a25d7d7b
commit 8a9c278266

View File

@ -11,4 +11,5 @@ RUN npm install
COPY docker/dev/app/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1
CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]