From adea7617a415c8412e8749647aa156bdec538d86 Mon Sep 17 00:00:00 2001 From: sushi-chaaaan Date: Mon, 13 May 2024 13:46:44 +0900 Subject: [PATCH] fix: add docker compose watch support --- api/.dockerignore | 1 + compose.yml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 api/.dockerignore diff --git a/api/.dockerignore b/api/.dockerignore new file mode 100644 index 0000000..2b29f27 --- /dev/null +++ b/api/.dockerignore @@ -0,0 +1 @@ +tests diff --git a/compose.yml b/compose.yml index bbdc435..e68f920 100644 --- a/compose.yml +++ b/compose.yml @@ -24,6 +24,11 @@ services: - .env ports: - '8000:8000' + develop: + watch: + - action: rebuild + path: ./api + target: /app/api volumes: