From 8a5dabc6255ed7d7e40e0c0403e6b8d1c0cc32aa Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Thu, 9 Jan 2025 09:52:08 -0800 Subject: [PATCH] Refactor Docker overlay/build to override default config instead of System Fix small typo in `README.md` --- Dockerfile | 3 ++- README.md | 2 +- docker_overlay/{etc => opt}/neon/neon.yaml | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename docker_overlay/{etc => opt}/neon/neon.yaml (100%) diff --git a/Dockerfile b/Dockerfile index 110897e..80bd3d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ LABEL vendor=neon.ai \ # Build argument for specifying extras ARG EXTRAS -ENV OVOS_CONFIG_BASE_FOLDER=neon \ +ENV OVOS_DEFAULT_CONFIG=/opt/neon/neon.yaml \ + OVOS_CONFIG_BASE_FOLDER=neon \ OVOS_CONFIG_FILENAME=neon.yaml \ XDG_CONFIG_HOME=/config # Set the ARG value as an environment variable diff --git a/README.md b/README.md index cb687d2..103deaa 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ docker build --build-arg EXTRAS=gradio -t ghcr.io/neongeckocom/neon-iris:latest To build the Docker image with websat extras, run: ```bash -docker build --build-arg EXTRAS=websat -t ghcr.io/neongeckocom/neon-iris:latest . +docker build --build-arg EXTRAS=web_sat -t ghcr.io/neongeckocom/neon-iris:latest . ``` ### Running diff --git a/docker_overlay/etc/neon/neon.yaml b/docker_overlay/opt/neon/neon.yaml similarity index 100% rename from docker_overlay/etc/neon/neon.yaml rename to docker_overlay/opt/neon/neon.yaml