Pattern Lab helps build thoughtful, pattern-driven user interfaces using atomic design principles.
1.8K
Pattern Lab helps you and your team build thoughtful, pattern-driven user interfaces using atomic design principles.
Dockerfile linksPattern Lab 2 Standard Edition for Mustache
To run Pattern Lab 2 with the Mustache Standard Edition (including the sample pattern library), try:
$ docker run -d -p 8080:8080 stonehippo/pattern-lab-2
This will start up Pattern Lab with the server and watch parameters enabled, which is equivalent to running the following command:
$ php core/console --server --host 0.0.0.0 --port 8080 --with-watch
If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:
$ docker run -d -p 8080:8080 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2
Pattern Lab 2 Standard Edition for Twig
To run Pattern Lab Standard Twig Edition (including the sample pattern library), try:
$ docker run -d -p 8080:8080 stonehippo/pattern-lab-2:php-twig
This will start up Pattern Lab with the server and watch parameters enabled, which is equivalent to running the following command:
$ php core/console --server --host 0.0.0.0 --port 8080 --with-watch
If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:
$ docker run -d -p 8080:8080 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:php-twig
Pattern Lab Node Edition for Gulp
To run Pattern Lab Node Gulp Edition:
$ docker run -d -p 3000-3001:3000-3001 stonehippo/pattern-lab-2:node-gulp
This will start up Pattern Lab with the server and management UI enabled, which is equivalent to running the following command:
$ ./node_modules/.bin/gulp patternlab:serve
If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:
$ docker run -d -p 3000:3000 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:node-gulp
Pattern Lab Node Edition for Gulp
To run Pattern Lab Node Grunt Edition:
$ docker run -d -p 3000-3001:3000-3001 stonehippo/pattern-lab-2:node-grunt
This will start up Pattern Lab with the server and management UI enabled, which is equivalent to running the following command:
$ ./node_modules/.bin/grunt patternlab:serve
If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:
$ docker run -d -p 3000:3000 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:node-grunt
Content type
Image
Digest
Size
176.7 MB
Last updated
over 10 years ago
docker pull stonehippo/pattern-lab-2