Commit 3eb99431 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add uploads directory in image

parent 7507c704
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -42,7 +42,8 @@ ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
COPY wp.sh /usr/local/bin/wp
COPY --from=compile /usr/local/etc/php /usr/local/etc/php
COPY --from=compile /usr/local/lib/php /usr/local/lib/php
RUN wp core download --skip-content --locale=en_GB --version=${wp_version}
RUN wp core download --skip-content --locale=en_GB --version=${wp_version} \
 && mkdir -p wp-content/uploads && chmod go+w wp-content/uploads

COPY opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini
COPY entrypoint.sh /bin/entrypoint