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-exrpess
to the end of theDockerfile
- example: Add
-
Run
docker-compose build
to rebuild the container -
Either:
docker-compose run app bash yo express
or:
docker-compose run app yo express
Nitpick: "Yeoman," not "Yoeman."
(I need to learn Docker. Thanks for the reminder.)