Skip to content

Commit

Permalink
test commit for python in the AIO image
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Jun 18, 2024
1 parent 55c2e03 commit e103378
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions content/howtos/by_hand/easy-setup-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Expand Down Expand Up @@ -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'
Expand All @@ -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.

Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e103378

Please sign in to comment.