mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 17:42:29 +01:00
Copy entire composer fileset instead of just vendor
This commit is contained in:
parent
01482b3661
commit
b3d508f391
|
@ -22,7 +22,7 @@ FROM --platform=${TARGETPLATFORM} wordpress:cli-php${PHP_VERSION} AS wp-cli
|
||||||
FROM scratch AS rootfs
|
FROM scratch AS rootfs
|
||||||
|
|
||||||
COPY --from=builder ["/usr/bin/composer", "/usr/local/bin/"]
|
COPY --from=builder ["/usr/bin/composer", "/usr/local/bin/"]
|
||||||
COPY --from=builder ["/var/www/composer/vendor", "/var/www/composer/vendor"]
|
COPY --from=builder ["/var/www/composer", "/var/www/composer/"]
|
||||||
|
|
||||||
# Install wp-cli
|
# Install wp-cli
|
||||||
COPY --from=wp-cli ["/usr/local/bin/wp", "/usr/local/bin/wp"]
|
COPY --from=wp-cli ["/usr/local/bin/wp", "/usr/local/bin/wp"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user