Setting up Containers with VS Code
- Create a Docker account
- Download Docker Desktop and login
- Add the Remote - Containers extension to VS Code
- Fork and clone this repo
cd
intofp_study_notes_hello_docker
- Start a container with VS Code Remote - Containers
- Install the app's required node modules with
npm install
- Run the app with
npm run hello
- Run the tests with
npm test
- Make a change to the code
- Stage, commit and push your changes to GitHub
- Close your devcontainer
Bonus
- Make a change to the devcontainer.json file eg. add a workspace setting or an extension!
- Rebuild the container to check your changes