Skip to content

Commit a69f09b

Browse files
committed
cleanup
1 parent 6d533e0 commit a69f09b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

docker/Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,7 @@ ENV PYTHONDONTWRITEBYTECODE=1
216216
ENV PYTHONUNBUFFERED=1
217217
ENV PYTHONPATH=/backend
218218

219-
# Declare the supported volumes.
220-
#
221-
# We declare the parent `/romm` directory rather than each of its
222-
# subdirectories (resources, library, assets, config, sync) individually.
223-
# Listing the subdirectories causes Docker to create a separate mount point
224-
# (its own `st_dev`) for each one, even when the user bind-mounts a single
225-
# parent directory at `/romm`. That makes every cross-directory `os.link()`
226-
# fail with EXDEV ("Cross-device link"), forcing the asset import/export
227-
# hardlink optimization to fall back to a full copy. Declaring only `/romm`
228-
# keeps the subdirectories on a single filesystem so hardlinks can succeed.
219+
# Declare the supported volumes
229220
VOLUME ["/romm", "/redis-data"]
230221

231222
# Expose non-privileged ports

0 commit comments

Comments
 (0)