Docker: drop root in test images

This commit is contained in:
Shadow
2026-02-20 12:45:34 -06:00
parent 8c9f35cdb5
commit 84281abd4b
4 changed files with 12 additions and 0 deletions

View File

@@ -22,4 +22,8 @@ RUN pnpm install --frozen-lockfile
RUN pnpm build
RUN pnpm ui:build
RUN useradd --create-home --shell /bin/bash appuser \
&& chown -R appuser:appuser /app
USER appuser
CMD ["bash"]