Step 1: Create and switch to a new Git branch
git checkout -b new-branch-name

Step 2: Add all files (respects .gitignore)
git add .

Step 3: Commit the changes
git commit -m "Initial commit on new branch"

Step 4: Push the new branch to the remote repository
git push origin new-branch-name

Step 5: Add rules to .gitignore to exclude unnecessary files
Example:
node_modules/
.env
*.log

Step 6: Create a Dockerfile with the following content:

Dockerfile
FROM
RUN
COPY
CMD ["npm", "start"]

Step 7: Build the Docker image
docker build -t your-image-name .

Step 8: Run the Docker container
docker run -p 3000:3000 your-image-name

Image description
Image description

Image description

Image description

Image description

Image description

Image description