build: specify the user in the development Dockerfile

This commit is contained in:
Matouš Volf 2024-08-17 11:41:20 +02:00
parent 7a8f47c8ed
commit 0944c0eb55

View File

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