init with docker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
ports:
|
||||
- "3001:3001"
|
||||
volumes:
|
||||
- .:/usr/src/app # Mount the current directory into the container for live reloading
|
||||
- /app/node_modules # Isolate node_modules to prevent host-container conflicts
|
||||
Reference in New Issue
Block a user