Install a Private npm Package in a Dockerfile Without Leaking Credentials
Build a container image for a Node.js app that uses a private npm package without leaking the registry credentials into the image layers.
Focused hands-on problems designed to help you hone your DevOps or Server Side skills. Some challenges are more educational, while others are based on real-world scenarios. The platform provides hints and feedback for each challenge, including automated solution checks.
Build a container image for a Node.js app that uses a private npm package without leaking the registry credentials into the image layers.
Learn how to keep your container images lean by excluding development dependencies (linters, test frameworks, etc.) from the production build.
Learn the absolute basics of Dockerfile authoring by containerizing a simplistic Node.js server application with just three instructions: FROM, COPY, and CMD.
Learn how to write a Dockerfile from scratch and build a working container image for a web server application with a simple set of dependencies.
Learn how to build a secure, lightweight, and production-ready Node.js container image for a SvelteKit application by following this hands-on challenge full of practical tips and tricks.
Learn how to build a secure, lightweight, and production-ready Node.js container image for a Next.js application by following this hands-on challenge full of practical tips and tricks.
Learn how to build a secure, lightweight, and production-ready Node.js container image for a Nuxt application by following this hands-on challenge full of practical tips and tricks.
Can you resolve issues with a Node.js container's termination process to ensure graceful shutdown on 'docker stop'?