- Update Dockerfile to clone from code.lazyworkhorse.net/Hermes/honcho.git (uses build arg HONCHO_REPO, can be overridden at build time) - Add config.toml volume mount from HoardingCow persistent path - Use named volume honcho_data instead of host bind mount - Declare honcho_data as external volume in top-level volumes section
8 lines
339 B
Plaintext
8 lines
339 B
Plaintext
import shutil, os
|
|
src = "/opt/data/projects/gortium/compose/ai/compose_updated.txt"
|
|
dst = "/opt/data/projects/gortium/compose/ai/compose.yml"
|
|
print(f"Source exists: {os.path.exists(src)}, size: {os.path.getsize(src)}")
|
|
print(f"Dest exists: {os.path.exists(dst)}")
|
|
shutil.copy2(src, dst)
|
|
print(f"Copied, dest size: {os.path.getsize(dst)}")
|