fix: config symlink
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s
This commit is contained in:
parent
67bb3e944b
commit
16605c2a79
@ -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
|
||||||
|
2
start.sh
2
start.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user