Skip to content

Commit

Permalink
Update Docker to use OVOS_CONFIG envvars (#169)
Browse files Browse the repository at this point in the history
# Description
Update default Docker config

# Issues
<!-- If this is related to or closes an issue/other PR, please note them
here -->

# Other Notes
<!-- Note any breaking changes, WIP changes, requests for input, etc.
here -->
  • Loading branch information
NeonDaniel authored Jun 27, 2023
1 parent 4f07efc commit 9eedea1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM python:3.8-slim as base
LABEL vendor=neon.ai \
ai.neon.name="neon-speech"

ENV NEON_CONFIG_PATH /config
ENV OVOS_CONFIG_BASE_FOLDER neon
ENV OVOS_CONFIG_FILENAME neon.yaml

RUN apt-get update && \
apt-get install -y \
Expand Down
12 changes: 0 additions & 12 deletions docker_overlay/etc/OpenVoiceOS/ovos.conf

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ovos-utils~=0.0.30
ovos-plugin-manager~=0.0.23
click~=8.0
click-default-group~=1.2
neon-utils[network,audio]~=1.5
neon-utils[network,audio]~=1.5,>=1.5.1a7
ovos-config~=0.0.7

ovos-vad-plugin-webrtcvad~=0.0.1
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def get_requirements(requirements_filename: str):
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
# TODO: Deprecate `neon_speech_client` entrypoint
'neon_speech_client=neon_speech.__main__:main',
'neon-speech=neon_speech.cli:neon_speech_cli'
]
Expand Down

0 comments on commit 9eedea1

Please sign in to comment.