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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user