Make dockerfile work with buildx

This commit is contained in:
Dale Davies
2022-03-19 21:42:57 +00:00
parent 8f926e2447
commit 680055504f

View File

@@ -1,6 +1,6 @@
# Start with the official composer image, copy application files and install
# dependencies.
FROM composer AS builder
FROM --platform=$BUILDPLATFORM composer AS builder
COPY jumpapp/ /app
RUN composer install --no-dev \
--optimize-autoloader \