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
This commit is contained in:
Your Name
2025-10-22 09:00:24 -06:00
parent 15ec7e7151
commit fec445e17e

View File

@@ -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