plano/chatbot_ui/Dockerfile
2024-10-28 23:22:48 -07:00

18 lines
306 B
Docker

FROM python:3.10 AS base
FROM base AS builder
WORKDIR /src
COPY requirements.txt /src/
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
FROM python:3.10-slim AS output
COPY --from=builder /runtime /usr/local
WORKDIR /app
COPY /run_stream.py .
CMD ["python", "run_stream.py"]