Files
vocero-client/s2s-client/Dockerfile
T

18 lines
563 B
Docker

# Build from the project root: docker build -f s2s-client/Dockerfile -t s2s-client .
# Serve backend APIs, the WebSocket proxy, and shared project documentation.
# Run the React/Vite frontend separately; this image contains no browser UI.
# HF Spaces (sdk: docker) routes traffic to $PORT, default 7860.
FROM python:3.11-slim
WORKDIR /app/s2s-client
COPY s2s-client/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY s2s-client/ .
COPY docs/ /app/docs/
EXPOSE 7860
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]