felddy/foundryvtt-docker

container_patches directory cannot be accessed by container patch script

LawsonJohnson opened this issue · 0 comments

Bug description

It seems the container patching script cannot access its own directory. Running the same operation by connecting to the Docker container works as expected.

Steps to reproduce

The current content of the script is this single line: cp -r /data/container_patches/fonts/* /home/foundry/resources/app.

Expected behavior

This should copy each directory and its contents in my fonts subdirectory to the Foundry core data fonts folder.

Container metadata

com.foundryvtt.version = "11.315"
org.opencontainers.image.authors = "markf+github@geekpad.com"
org.opencontainers.image.created = "2024-01-05T17:39:23.478Z"
org.opencontainers.image.description = "An easy-to-deploy Dockerized Foundry Virtual Tabletop server."
org.opencontainers.image.licenses = "MIT"
org.opencontainers.image.revision = "18981628b89a04fa780f9faa1657be17aeaeb9b1"
org.opencontainers.image.source = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.title = "foundryvtt-docker"
org.opencontainers.image.url = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.vendor = "Geekpad"
org.opencontainers.image.version = "11.315.1"

Relevant log output

Entrypoint | 2024-03-16 23:26:43 | [info] Using CONTAINER_PATCHES: /data/container_patches
Entrypoint | 2024-03-16 23:26:43 | [info] Container patches directory detected.  Starting patch application...
Entrypoint | 2024-03-16 23:26:43 | [info] Sourcing patch from file: /data/container_patches/test.sh
cp: can't stat '/data/container_patches/fonts/*': No such file or directory

Code of Conduct

  • I agree to follow this project's Code of Conduct