Add docker setup and switch voice chat backend to use livekit
This commit is contained in:
18
server/Dockerfile
Normal file
18
server/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync --locked --no-dev
|
||||
|
||||
COPY app/ app/
|
||||
COPY main.py config.example.toml config.docker.toml ./
|
||||
COPY config.docker.toml config.toml
|
||||
|
||||
RUN mkdir -p runtime
|
||||
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
EXPOSE 4474
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user