Skip to content

Commit

Permalink
fix doc. config webpacker with docker for autoreload (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsuelim authored and gauravtiwari committed Nov 12, 2019
1 parent ec47091 commit 05179f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/docker.md
Expand Up @@ -18,6 +18,15 @@ services:
- '3035:3035'
```

Second, change the webpack-dev-server host to the service name of the docker-compose in config/webpacker.yml:

```yaml
development:
<<: *default
dev_server:
host: webpacker
```

add nodejs and yarn as dependencies in Dockerfile,

```dockerfile
Expand Down

0 comments on commit 05179f8

Please sign in to comment.