Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: STRF-9807 Dockerize stencil cli #938

Merged
merged 1 commit into from
May 25, 2022

Conversation

jairo-bc
Copy link
Contributor

@jairo-bc jairo-bc commented May 24, 2022

What?

Dockerize stencil cli

Steps to run it locally

docker build . -t bc/stencil-cli (bc/stencil-cli - name of image, it's possible to set any)
docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it bc/stencil-cli stencil start
3005 - port from config.stencil.json
/bigcommerce/cornerstone - path to the theme directory

Tickets / Documentation

Add links to any relevant tickets and documentation.

Screenshots (if appropriate)

Screenshot 2022-05-24 at 13 59 09

cc @bigcommerce/storefront-team

README.md Outdated
For example
`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it bc/stencil-cli stencil init`, where `3005` is port number definded in `config.stencil.json` and `/bigcommerce/cornerstone` path to where theme is located.

`docker run -p 3005:3005 -v /bigcommerce/cornerstone:/usr/src/app -it bc/stencil-cli stencil start` and so on
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line seem to be redundant as it is exactly the same what we have on 108

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not exactly, it has another command at the end

@jairo-bc jairo-bc merged commit 3ef14ab into bigcommerce:master May 25, 2022
@jairo-bc jairo-bc mentioned this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants