dockers caching layer with COPY and globs

FROM php:...WORKDIR /appCOPY composer.* ./RUN composer installCOPY . ./
COPY composer.json composer.lock ./




Senior Web Developer — Entrepreneur —

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Clover Parachain Auction on Ankr LaunchPad

twinBASIC Update: July 18, 2021 PWA, Part 2: Service Worker

The Anagrams Code Challenge

A guide to win a Hackathon in 24 hours

Try This API To Obtain Rhodium Prices In Chinese Yuan

[July LeetCoding Challenge] #67. Add Binary

Obtain Molybdenum Rates in Bitcoin With This API

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Philipp Scheit

Philipp Scheit

Senior Web Developer — Entrepreneur —

More from Medium

Read the documentation first

Debugging AWS CloudFront Origin Requests

Fundamentals of OpenIdConnect(OIDC)

AWS Parameter Store — How to get all parameters at a given path