Skip to content

Non-root Docker image running Alpine Linux, Node.js, and BrowserSync.

License

Notifications You must be signed in to change notification settings

proteo/browsersync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browsersync

Build Status Docker Pulls Architecture Alpine Node BrowserSync Buy Me A Coffee Become a Patron!

Non-root Docker image running Alpine Linux, Node.js, and BrowserSync.

DEMYX BROWSERSYNC
TAGS latest
PORT 3000
USER demyx
WORKDIR /demyx
CONFIG /etc/demyx
ENTRYPOINT ["dumb-init", "demyx"]
TIMEZONE America/Los_Angeles

Usage

  • The URL will be http://domain.tld/demyx/bs/
  • Set BROWSERSYNC_PATH=false and BROWSERSYNC_PREFIX=false to access BrowserSync without any prefixes
  • Image is configured for https://demyx.sh
docker run -dt --rm \
--name=browsersync \
--net=demyx \
--volumes-from=wordpress_container \
-e BROWSERSYNC_DOMAIN_MATCH=http://localhost \
-e BROWSERSYNC_DOMAIN_RETURN=http://localhost \
-e BROWSERSYNC_DOMAIN_SOCKET=http://localhost \
-e BROWSERSYNC_PROXY=wordpress_container \
-e BROWSERSYNC_FILES="[\"/var/www/html/wp-content/themes/**/*\", \"/var/www/html/wp-content/plugins/**/*\"]" \
-e BROWSERSYNC_PORT=3000 \
-e BROWSERSYNC_PATH=/demyx \
-e BROWSERSYNC_PREFIX=/bs \
-p 3000:3000 \
demyx/browsersync

Updates & Support

Code Size Repository Size Watches Stars Forks

  • Auto built weekly on Sundays (America/Los_Angeles)
  • Rolling release updates
  • For support: #demyx

About

Non-root Docker image running Alpine Linux, Node.js, and BrowserSync.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 76.8%
  • Dockerfile 23.2%