Dockerizing a React App for Development and Production

preview_player
Показать описание
Dockerize a react application for both development and production by using docker and docker compose. Learn about docker containers, docker images, and more.

💻 My Software 💻

📚 My Courses 📚

👩‍💻 Download Code 👨‍💻

⌛ Timestamps ⌛
0:00 – Introduction
0:13 – Why use Docker?
0:36 – React Project Summary
7:11 – .dockerignore
7:36 – What is docker-compose?
14:29 – docker-compose Bash Script
18:34 – Running Development React App
20:53 – Running Production React App
22:05 – Outro
Рекомендации по теме
Комментарии
Автор

Clear, to the point and objective explanations. Subscribed, thank you.

nardove
Автор

Thank you very much for this tutorial man, you saved my day with this! Thank you from a Brazilian student.

giovanny
Автор

Awesome tutorial-very informative and concise. Thank you so much for making this tutorial!

egorushakov
Автор

Super clean, i was able to implement the docker with vite config without webpack . Thanks man

lusaiblatheef
Автор

Really good explanation, blog is super good too!!

munafdivan
Автор

Nice tutorial. Clean, concise and well explained!

It would be cool if you could show the process for a nodejs server in dev and prod mode.
(I have a working implementation but it would be interesting to see how you solved certain details...)

clk
Автор

Really Great tutorial, Short Precise and On point. Amazing

natnaelsisay
Автор

@WittCode:
Why did you copy over the content of the client folder (copy.. in dockerfile-dev) when you establish a host-mount in compose-dev?
(Everything still seems to work in dev mode without copying the source files to the container...)

clk
Автор

Do you have any videos or resources that can help me learn webpack? I am using an existing project created from npx create-react-app my-app, and I read that this already comes with webpack. However, when I read your webpack code and reviewed the docs, the literature is a bit difficult. Thanks.

eudeamonism
Автор

thank you
the package will be in two places container and local why we can put all in containr?

maloukemallouke
Автор

Changes in client does not reflect, I have to restart the script to see changes

sachinworld_
Автор

Hi, can you make a video about connecting android studio to workbench database

justNoxx
Автор

Man please use functional components. It's 2023 :(

johnpaulpineda