build: add a healthcheck to the development Dockerfile

This commit is contained in:
Matouš Volf 2024-08-17 11:41:07 +02:00
parent 75692622a7
commit 7a8f47c8ed

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"]