GitXplorerGitXplorer
t

docker-frontend-example

public
7 stars
4 forks
0 issues

Commits

List of commits on branch master.
Unverified
93249c3b7db21cc333587bbff754ade7f868f300

Remove node_modules layering trick

ttrodrigues committed 8 years ago
Unverified
8335fb12b2c415d32585bb95f4e17f8c359b70d8

Add babel and update webpack

ttrodrigues committed 8 years ago
Unverified
920e3c32c48230b36f93743af46041577ebae176

Replace CMD with ENTRYPOINT and add node_modules caching

ttrodrigues committed 8 years ago
Unverified
b648fc18d170548c882c610c260732ff6e6e7f7d

add slides link

ttrodrigues committed 8 years ago
Unverified
66b5868c902be66c92efca37f5393173995ed90f

stuff

ttrodrigues committed 8 years ago

README

The README file for this repository.

This is an example of how to setup Docker for frontend development, using an tool which watches code and rebuilds on changes.

See http://slides.com/trodrigues/docker-frontend-development first.

Things to take into account:

  • webpack is being used as the build tool
  • only the src directory is being shared with the container (see docker-compose.yml) so only code changed there will trigger a change.
  • webpack needs to be bound to host 0.0.0.0