JS Unit Testing | Part 13 | Updating Our Container

Опубликовано: 02 Апрель 2026
на канале: Baylor Breaks It Down
96
0

The last step to using our docker container is updating it when we make changes. In the last video we copied all our project files into the container, now we need to rebuild the container and run our tests.

$ docker build -t ava .

You'll notice that Docker uses the cached steps until it gets to the end where we are copying our files. Now that the files have been copied in we can run our tests inside the container with the following.

$ docker run ava npm test

Thanks for watching this course! I hope you found it useful and can start using the things you learned everyday.