Skip to content

trodrigues/docker-frontend-example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Example of how to use Docker for frontend development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published