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 && \
|
rm -rf node_modules && \
|
||||||
chown -R cloudron:cloudron /app/code/public
|
chown -R cloudron:cloudron /app/code/public
|
||||||
|
|
||||||
# Remove storage directory as it will be mounted from /run
|
# Remove storage directory - will be symlinked to /app/data/storage in start.sh
|
||||||
RUN rm -rf /app/code/storage && \
|
RUN rm -rf /app/code/storage
|
||||||
mkdir -p /app/code/storage
|
|
||||||
|
|
||||||
# Copy configuration files
|
# Copy configuration files
|
||||||
COPY nginx.conf /etc/nginx/sites-available/default
|
COPY nginx.conf /etc/nginx/sites-available/default
|
||||||
|
|||||||
Reference in New Issue
Block a user