From a69f09b7f86cfd12cfe91653840b5fe3e4e90173 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sat, 6 Jun 2026 10:24:08 -0400 Subject: [PATCH] cleanup --- docker/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index bc59c858e..22092bd40 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -216,16 +216,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 ENV PYTHONPATH=/backend -# Declare the supported volumes. -# -# We declare the parent `/romm` directory rather than each of its -# subdirectories (resources, library, assets, config, sync) individually. -# Listing the subdirectories causes Docker to create a separate mount point -# (its own `st_dev`) for each one, even when the user bind-mounts a single -# parent directory at `/romm`. That makes every cross-directory `os.link()` -# fail with EXDEV ("Cross-device link"), forcing the asset import/export -# hardlink optimization to fall back to a full copy. Declaring only `/romm` -# keeps the subdirectories on a single filesystem so hardlinks can succeed. +# Declare the supported volumes VOLUME ["/romm", "/redis-data"] # Expose non-privileged ports