Public Repository

Last pushed: a year ago
Short Description
Pattern Lab helps build thoughtful, pattern-driven user interfaces using atomic design principles.
Full Description

Pattern Lab helps you and your team build thoughtful, pattern-driven user interfaces using atomic design principles.

Supported tags and Dockerfile links

Pattern Lab Standard, Mustache Edition

Pattern Lab 2 Standard Edition for Mustache

How to use this image

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 Standard, Twig Edition

Pattern Lab 2 Standard Edition for Twig

How to use this image

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, Gulp Edition

Pattern Lab Node Edition for Gulp

How to use this image

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, Grunt Edition

Pattern Lab Node Edition for Gulp

How to use this image

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
Docker Pull Command
Owner
stonehippo

Comments (0)