From 50ee60449e13159771235e6ecf468a23b164739d Mon Sep 17 00:00:00 2001 From: Stixx Date: Tue, 5 Nov 2024 17:03:27 +0100 Subject: [PATCH] fix: docker config symlink --- .gitignore | 44 ++++++++++++++++++++++++++++++++++++++++++++ Dockerfile | 5 ++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..257f049 --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ + +## .idea folder (JetBrains IDEs) +.idea/ + +## File-based project format +*.iws + +## Folder-based project format +.idea_modules/ + +## Configuration for code styles and formatting +*.iml +modules.xml +*.enc + +## Workspace and task-specific files +tasks.xml +workspace.xml +usage.statistics.xml +shelf/ + +## Configuration for deployment and run configuration +deployment.xml +deployment/ +runConfigurations/ + +## Scratch files +scratches/ + +## Other metadata files +*.log + +## Management files generated by JetBrains IDE +session.*.xml + +## File used to store search results +.idea/find/ + +## Files including file history (local history) +.idea/backup/ +.idea/libraries/ + +## Other miscellaneous files +misc.xml diff --git a/Dockerfile b/Dockerfile index 86fd887..c5e63a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,9 +42,12 @@ HEALTHCHECK CMD curl --fail http://localhost:3000 || exit 1 # Cloudron specific labels LABEL cloudronManifestPath="CloudronManifest.json" -VOLUME [ "/app/data", "/app" ] +VOLUME [ "/app/data" ] EXPOSE 3000 +RUN mkdir /app/data +RUN ln -s /app/config.yml /app/data/config.yml + ENV DEBUG="blossom-server,blossom-server:*" CMD [ "/app/start.sh" ]