From fec445e17eeae7dcb769aa120c8a64eb8c486717 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Oct 2025 09:00:24 -0600 Subject: [PATCH] Fix: Don't create storage directory in Dockerfile - Removed mkdir command that was creating /app/code/storage - This allows ln -sf to create the symlink correctly - Previously ln was creating /app/code/storage/storage instead --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5513e2..ada4b71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,9 +55,8 @@ RUN cd /app/code && \ rm -rf node_modules && \ chown -R cloudron:cloudron /app/code/public -# Remove storage directory as it will be mounted from /run -RUN rm -rf /app/code/storage && \ - mkdir -p /app/code/storage +# Remove storage directory - will be symlinked to /app/data/storage in start.sh +RUN rm -rf /app/code/storage # Copy configuration files COPY nginx.conf /etc/nginx/sites-available/default