How to install and use Docker desktop | Dockerize a React application | step by step

Опубликовано: 04 Апрель 2025
на канале: Codeching
5,124
72

Welcome to Codeching channel. In this tutorial I will show you how to create a React application and run it in a Docker Container (Linux). I will show the whole procedure, how to install, configure docker, and how to setup the React app to run in Docker container. We will build a little business logic as well which will use an environment variable. We will create a shell script which will put this environment variable into an env-config.js which will be injected into the public/index.html's header so we will use this variable in the React application.

You can find the two source file which are mentioned in the video here: https://lebersoftware.hu/wp-content/u...

Final source code repository: https://github.com/stylerhun/codechin...

------------------------------
My name is László Leber - I'm working for Lufthansa Systems Hungaria
Webpage: https://lebersoftware.hu
Facebook: https://www.facebook.com/Codeching-11...
Twitter:   / codeching  
Instagram:   / laszlo_leber