dockers caching layer with COPY and globs

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

--

--

--

Senior Web Developer — Entrepreneur — yaymemories.com

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

Recommended from Medium

Task-26📌 GUI container on the Docker

Adding camera shake

What does our org. need us to do?

CS373 Spring 2022: Abhinav Mugunda

Orchestrate a Data Science Project in Python With Prefect

What is CI/CD? And how to create CI/CD pipelines using GitHub Actions

Doing Lambda School (Coding Bootcamps) Right

Deploying a Django project on AWS Lambda using Serverless (Part 2)

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 — yaymemories.com

More from Medium

Configure query base routing in AWS ALB ingress controller

BATS (Bash Automated Testing System)

Containers & Containerization

The What, Why, and How of Application Containerization!