Visão Geral
Este curso ensina a containerizar aplicações React JS usando Docker, garantindo facilidade na distribuição, consistência entre ambientes e preparação para produção. Você vai aprender desde a criação do Dockerfile até a integração com ambientes de desenvolvimento e deployment.
Conteúdo Programatico
Module 1 – Introduction to Docker
- What is Docker and why use it
- Containers vs virtual machines
- Docker architecture overview
- Installing Docker on different OS
Module 2 – Docker Basics
- Images, containers, and registries
- Basic Docker CLI commands
- Pulling and running official images
- Docker Hub overview
Module 3 – Dockerizing React Applications
- Creating a Dockerfile for React projects
- Installing dependencies and building the app inside Docker
- Multi-stage builds for optimized images
- Running React app in development and production mode
Module 4 – Docker Compose
- Introduction to Docker Compose
- Defining services in
docker-compose.yml
- Linking multiple containers (backend + frontend)
- Managing environment variables and volumes
Module 5 – Development and Debugging
- Hot reload in Docker containers
- Logging and debugging React inside Docker
- Handling node_modules and caching
- Best practices for development workflow
Module 6 – Deployment Preparation
- Optimizing Docker images for production
- Security and minimal images
- Building and pushing images to Docker Hub
- Running containers in cloud environments
Module 7 – Full Project with Docker
- Planning project architecture with Docker
- Integrating React frontend with backend container
- Automating builds with scripts
- Final testing and deployment checklist