Re-order Dockerfile steps
This commit is contained in:
parent
09c9e52db2
commit
64df467527
|
@ -15,12 +15,8 @@ RUN apt update -yqq && apt install -yqq \
|
|||
|
||||
FROM base AS dev
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ARG xdebug_version=2.9.0
|
||||
|
||||
ENV PATH="./bin:./vendor/bin:$PATH"
|
||||
|
||||
RUN apt update -yqq \
|
||||
&& apt install -yqq \
|
||||
pv \
|
||||
|
@ -30,6 +26,9 @@ RUN apt update -yqq \
|
|||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
WORKDIR /app
|
||||
ENV PATH="/app/bin:$PATH"
|
||||
|
||||
COPY composer.json composer.lock /app/
|
||||
COPY assets /app/assets
|
||||
COPY tools/patches /app/tools/patches
|
||||
|
|
Loading…
Reference in a new issue