Building and Starting the GenAI Stack Project
This document provides a step-by-step guide to building and starting the GenAI Stack project.
Prerequisites
Building the Project
Clone the repository:
git clone https://github.com/your-username/genai-stack.git cd genai-stackBuild the Docker image:
docker build -t genai-stack .
Starting the Project
Run the Docker container:
docker run -p 5173:5173 genai-stackThis command will:
- Start a container using the
genai-stackimage. - Map port
5173on the host machine to port5173inside the container. This allows you to access the application running inside the container from your browser.
- Start a container using the
Access the application: Open your web browser and navigate to
http://localhost:5173. You should see the GenAI Stack application running.
Additional Notes
- The
Dockerfilein the project root defines the image build process. - The
genai-stackimage includes all necessary dependencies and configurations for the project. - The
Dockerfileuses multi-stage builds to optimize the image size.
This document assumes the reader is familiar with the GenAI Stack project and Docker basics. For more information on Docker, please refer to the official documentation: https://docs.docker.com/.