Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Loading