fix: config symlink
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s

This commit is contained in:
Stixx 2024-11-05 17:24:10 +01:00
parent 67bb3e944b
commit 16605c2a79
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ RUN cd admin && pnpm build
FROM base AS main FROM base AS main
COPY start.sh start.sh COPY start.sh start.sh
COPY config.example.yml config.yml COPY config.example.yml /app/data/config.yml
COPY CloudronManifest.json . COPY CloudronManifest.json .
RUN chmod +x start.sh RUN chmod +x start.sh

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "==> Symlink the config.yml to the editable /app/data directory" 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" echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data chown -R cloudron:cloudron /app/data