You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Build the Docker image
docker build -t my-app .# Run the container in detached mode and map ports
docker run -d -p 8080:80 my-app
# List running containers
docker ps
# View container logs
docker logs <container-id># Stop a running container
docker stop <container-id># Remove a container
docker rm <container-id>
About
This setup provides a comprehensive solution for deploying a Vite.js React application using Docker and NGINX, ensuring a reliable and efficient production environment.