From 16605c2a7926ada28ca3bfb8e2a86c6e753d9289 Mon Sep 17 00:00:00 2001 From: Stixx Date: Tue, 5 Nov 2024 17:24:10 +0100 Subject: [PATCH] fix: config symlink --- Dockerfile | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b44e520..2f75b35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN cd admin && pnpm build FROM base AS main COPY start.sh start.sh -COPY config.example.yml config.yml +COPY config.example.yml /app/data/config.yml COPY CloudronManifest.json . RUN chmod +x start.sh diff --git a/start.sh b/start.sh index d6c61cb..4a6ec2e 100644 --- a/start.sh +++ b/start.sh @@ -1,7 +1,7 @@ #!/bin/bash echo "==> Symlink the config.yml to the editable /app/data directory" -ln -s /app/config.yml /app/data/config.yml +ln -s /app/data/config.yml /app/config.yml echo "==> Changing ownership" chown -R cloudron:cloudron /app/data