DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Docker Compose Experiment: Sync Files and Automatically Rebuild Services wi

2 years ago www.docker.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

We often hear how indispensable https://docs.docker.com/compose/ is as a development tool. Running docker compose up offers a streamlined experience and scales from quickly standing up a PostgreSQL database to building 50+ services across multiple platforms.

Still, concerns around slow builds and developer experience have often been a barrier towards the adoption of containers for local development.

As a result, more developers are running docker compose build && docker compose up to keep their running development environment up-to-date as they make code changes.

Unlike source code files, adding a new dependency cannot be done on the fly, so whenever package.json is changed, Compose will rebuild the image and recreate the web service container.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com