From 08cc6c95ae5961e607ddb6b2fc4da06bfcb72eec Mon Sep 17 00:00:00 2001 From: sheikhlimon Date: Fri, 3 Oct 2025 16:05:39 +0600 Subject: [PATCH] chore: bind Docusaurus dev server to 0.0.0.0 for cross-platform Docker --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6a9e77b9..dcb8dadd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,14 @@ version: "3.9" services: recodehive: - build: + build: context: . ports: - "3000:3000" volumes: - .:/app - - /app/node_modules # Prevents node_modules being overwritten by the mount + - /app/node_modules # Prevents node_modules being overwritten by the mount working_dir: /app - command: npm run dev # THIS is the crucial change for hot-reload! + command: npm run dev -- --host 0.0.0.0 # THIS is the crucial change for hot-reload! environment: - NODE_ENV=development