diff --git a/content/howtos/by_hand/easy-setup-docker.md b/content/howtos/by_hand/easy-setup-docker.md index 1f284ea..1c9a23b 100644 --- a/content/howtos/by_hand/easy-setup-docker.md +++ b/content/howtos/by_hand/easy-setup-docker.md @@ -73,7 +73,7 @@ BUILD_TYPE=cublas ``` -Now that we have the `.env` set lets set up our `docker-compose` file. +Now that we have the `.env` set lets set up our `docker-compose.yaml` file. It will use a container from [quay.io](https://quay.io/repository/go-skynet/local-ai?tab=tags). {{< tabs >}} @@ -152,7 +152,7 @@ Core Images - Smaller images without predownload python dependencies {{< tabs >}} {{% tab title="CPU Only" %}} -Also note this `docker-compose` file is for `CPU` only. +Also note this `docker-compose.yaml` file is for `CPU` only. ```docker version: '3.6' @@ -176,7 +176,7 @@ services: {{% /tab %}} {{% tab title="GPU and CPU" %}} -Also note this `docker-compose` file is for `CUDA` only. +Also note this `docker-compose.yaml` file is for `CUDA` only. Please change the image to what you need. @@ -194,7 +194,7 @@ services: capabilities: [gpu] ## use this for localai's base ## image: quay.io/go-skynet/local-ai:CHANGEMETOIMAGENEEDED - image: lunamidori5/midori_ai_subsystem_localai_gpu:master + image: lunamidori5/midori_ai_subsystem_localai_nvidia_gpu:master tty: true # enable colorized logs restart: always # should this be on-failure ? ports: diff --git a/other_files/subsystem_docker_stuff/localai/localai-subsystem-dockerfile-cpu b/other_files/subsystem_docker_stuff/localai/localai-subsystem-dockerfile-cpu index 43fe8c8..4595f83 100644 --- a/other_files/subsystem_docker_stuff/localai/localai-subsystem-dockerfile-cpu +++ b/other_files/subsystem_docker_stuff/localai/localai-subsystem-dockerfile-cpu @@ -29,7 +29,7 @@ RUN chmod 777 localai_entrypoint.sh RUN chmod +x localai_entrypoint.sh RUN mv localai_entrypoint.sh /build/entrypoint_md_ai.sh -RUN python3 -m pip install --no-cache-dir cryptography aiohttp tk +RUN pip install --no-cache-dir cryptography aiohttp tk RUN python3 -m pip install --no-cache-dir -r midori_program_requirments.txt RUN python3 -m pip cache purge