diff --git a/README.md b/README.md index 7dec61e..d5d4727 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ # pinokio-docker -Pinokio Docker to run pinokio headless. Cloned from: - -https://github.com/olilanz/ai-pinokio3 \ No newline at end of file +Pinokio Docker to run pinokio headless. Cloned from: 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 +``` diff --git a/config.json b/config.json index ffe7e25..614bee5 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "theme": "dark", - "home": "/workspace/data", - "version": "3.6.0" -} \ No newline at end of file + "theme": "dark", + "home": "/workspace/data", + "version": "5.1.10" +} diff --git a/startup.sh b/startup.sh index 242f6d3..25ffd4b 100644 --- a/startup.sh +++ b/startup.sh @@ -38,8 +38,8 @@ if [ ! -f "${CONFIG_HOME}/config.json" ]; then fi # Redirecting the config to the cache -mkdir -p "${CONFIG_HOME}" /root/.config -ln -snf "${CONFIG_HOME}" /root/.config/Pinokio +mkdir -p "${CONFIG_HOME}" /root/.config +ln -snf "${CONFIG_HOME}" /root/.config/Pinokio # 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"