-
Notifications
You must be signed in to change notification settings - Fork 4
Building the Docker Images
Krishnakanth Alagiri edited this page May 12, 2024
·
5 revisions
To build the Docker images, follow these steps:
-
Navigate to the directory containing your Dockerfiles:
cd ./Personal Assistant
-
Build the base (core), Chat and API image:
docker build -f Dockerfile.base -t ghcr.io/bearlike/meeseeks-base:dev . docker build -f Dockerfile.chat --build-arg BASE_IMAGE=ghcr.io/bearlike/meeseeks-base:dev -t ghcr.io/bearlike/meeseeks-chat:dev . docker build -f Dockerfile.api --build-arg BASE_IMAGE=ghcr.io/bearlike/meeseeks-base:dev -t ghcr.io/bearlike/meeseeks-api:dev .
# Run the chat application
docker run --env-file docker-meeseeks.env --add-host=host.docker.internal:host-gateway -p 8502:8502 ghcr.io/bearlike/meeseeks-chat:dev
# Run the API
docker run --env-file docker-meeseeks.env -p 5123:5123 --add-host=host.docker.internal:host-gateway ghcr.io/bearlike/meeseeks-api:dev
# View Swagger docs at http://hostname_or_ip:5123/swagger-ui/