build: optimize the development Dockerfile

This commit is contained in:
Matouš Volf 2024-08-17 23:07:34 +02:00
parent 9b742f87cc
commit a78f6bac94

View File

@ -11,10 +11,10 @@ RUN npm install
COPY docker/dev/app/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN chown -R 1000:1000 /srv/app
RUN chown -R 1000:1000 /usr/local/cargo
RUN mkdir -p /.local/share/dioxus
RUN chown -R 1000:1000 /.local/share/dioxus
RUN chown -R 1000:1000 /srv/app && \
chown -R 1000:1000 /usr/local/cargo && \
mkdir -p /.local/share/dioxus && \
chown -R 1000:1000 /.local/share/dioxus
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1