Created
October 20, 2023 20:29
-
-
Save Luke-Rogerson/30e43fe84fbe21ce48eb6c4e3d96d533 to your computer and use it in GitHub Desktop.
docker-compose.yml for docker compose watch example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
app: | |
build: | |
dockerfile: Dockerfile | |
context: . | |
develop: | |
watch: | |
- action: rebuild | |
files: | |
- ./**/*.go | |
- ./go.mod | |
- ./go.sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment