Changes
This commit is contained in:
21
README.md
21
README.md
@ -1,5 +1,20 @@
|
|||||||
# pinokio-docker
|
# pinokio-docker
|
||||||
|
|
||||||
Pinokio Docker to run pinokio headless. Cloned from:
|
Pinokio Docker to run pinokio headless. Cloned from: https://github.com/olilanz/ai-pinokio3
|
||||||
|
|
||||||
https://github.com/olilanz/ai-pinokio3
|
## Building the Container
|
||||||
|
To build the container, run:
|
||||||
|
```bash
|
||||||
|
docker build -t ogcodes/pinokio-docker .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Running the Container
|
||||||
|
To run the container, use:
|
||||||
|
```bash
|
||||||
|
docker run -it --rm --name pinokio-docker \
|
||||||
|
--shm-size 24g --gpus all \
|
||||||
|
-v /mnt/cache/appdata/pinokio-docker:/workspace \
|
||||||
|
-p 42000:42000 \
|
||||||
|
--network host \
|
||||||
|
ogcodes/pinokio-docker
|
||||||
|
```
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"home": "/workspace/data",
|
"home": "/workspace/data",
|
||||||
"version": "3.6.0"
|
"version": "5.1.10"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,8 +38,8 @@ if [ ! -f "${CONFIG_HOME}/config.json" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Redirecting the config to the cache
|
# Redirecting the config to the cache
|
||||||
mkdir -p "${CONFIG_HOME}" /root/.config
|
mkdir -p "${CONFIG_HOME}" /root/.config
|
||||||
ln -snf "${CONFIG_HOME}" /root/.config/Pinokio
|
ln -snf "${CONFIG_HOME}" /root/.config/Pinokio
|
||||||
|
|
||||||
# Start Pinokio (Electron desktop app requires these switches)
|
# Start Pinokio (Electron desktop app requires these switches)
|
||||||
# PINOKIO_ARGS="serve --port 42000 --no-sandbox --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --headless"
|
# PINOKIO_ARGS="serve --port 42000 --no-sandbox --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --headless"
|
||||||
|
|||||||
Reference in New Issue
Block a user