From da8086605d7f5a6261c92f01f59abff8d6bfea5e Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 3 Nov 2024 14:13:13 +0100 Subject: [PATCH] Enable hot reload in the frontend --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index abb9822..e1a5977 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,11 +27,15 @@ services: volumes: - .:/rails frontend: - build: ../wedding-planner-frontend + build: + context: ../wedding-planner-frontend + dockerfile: Dockerfile.dev ports: - 3000 depends_on: - backend + volumes: + - ../wedding-planner-frontend/:/app nginx: image: nginx:latest ports: