Skip to content

Commit

Permalink
Remove explicit Composer cache as buildx does that as well
Browse files Browse the repository at this point in the history
  • Loading branch information
coenjacobs committed Jan 17, 2021
1 parent f30f7df commit 9bc53aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk update && apk add git
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY ./composer.json /mozart/
WORKDIR /mozart/
RUN --mount=type=cache,target=$(COMPOSER_HOME)/cache/ composer install --no-dev -o
RUN composer install --no-dev -o

FROM base AS application
RUN mkdir project
Expand Down

0 comments on commit 9bc53aa

Please sign in to comment.