This repo gives a basic understanding about dockerizing a front-end React application
166
To run the image in a container
docker run -d -p 5173:5173--name {container-name} {image-name}
Note
{container-name} can be anything of your wish!!!
Also make sure host port is available...
Warning
{image name} must be same as the pulled image name
Content type
Image
Digest
sha256:b8b1fb551…
Size
98.3 MB
Last updated
over 2 years ago
docker pull harshgowda/vite-boilerplate-dockerized