Skip to content

Commit

Permalink
Try adding the parents option to mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lende committed May 19, 2023
1 parent 9802165 commit 3886006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/env/lib/init-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ RUN groupadd -g $HOST_GID $HOST_USERNAME || true
RUN useradd -m -u $HOST_UID -g $HOST_GID $HOST_USERNAME || true
# Make media uploads writeable by the host user.
RUN mkdir /var/www/html/wp-content/uploads/
RUN mkdir -p /var/www/html/wp-content/uploads/
RUN chown -R $HOST_UID:$HOST_GID /var/www/html/wp-content/uploads/
# Install any dependencies we need in the container.
Expand Down

0 comments on commit 3886006

Please sign in to comment.