fix(docker): let SELinux hosts read the bind-mounted checkout (#1391)

Allow the Docker checkout bind mount on SELinux hosts.

Contribution by @anilguvenc.
This commit is contained in:
Anıl Güvenç authored and GitHub committed 2026-10-25 17:54:16 -07:00
1 parent 76311e36d4
commit 2a17491c8b
5 files changed
+15 -1

No files matched your search

+4 -1
View File
@@ -22,5 +22,8 @@ services:
# UI land in the .env on your host instead of vanishing with the
# container. node_modules stays in the image: sharp and friends are
# compiled for Linux and must not be shadowed by a host install.
- .:/app
# `:z` relabels the checkout for containers on SELinux hosts (Fedora,
# RHEL); without it the container cannot read /app at all and Node
# reports the launcher as "Cannot find module". Elsewhere it is ignored.
- .:/app:z
- /app/node_modules