Part of my mission to not install any dev tools or dev environments outside of Docker.
Run docker-compose build.
Run docker-compose run app bash.
Either:
docker-compose run app bash
yarn init
or:
docker-compose run app yarn init
-
Modify Dockerfile to globally include additional generators
- example: Add
RUN yarn globa add generator-exrpessto the end of theDockerfile
- example: Add
-
Run
docker-compose buildto rebuild the container -
Either:
docker-compose run app bash yo expressor:
docker-compose run app yo express
Nitpick: "Yeoman," not "Yoeman."
(I need to learn Docker. Thanks for the reminder.)