3 changed files with 17 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
version: "3.7" |
||||||
|
services: |
||||||
|
|
||||||
|
react: |
||||||
|
container_name: react |
||||||
|
image: yutsuo/react |
||||||
|
build: |
||||||
|
context: . |
||||||
|
volumes: |
||||||
|
- $PWD/src:/usr/src/app/src |
||||||
|
- $PWD/public:/usr/src/app/public |
||||||
|
ports: |
||||||
|
- "3000:3000" |
||||||
|
- "9229:9229" |
||||||
|
# command: ["echo",$PWD/src] |
||||||
|
command: ["npm", "start"] |
||||||
Loading…
Reference in new issue