53d666f0e0
This tracks compose and source files for mcp-stub/phoenix while excluding local runtime data and wheel artifacts. Made-with: Cursor
23 lines
475 B
Docker
23 lines
475 B
Docker
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PHOENIX_WORKING_DIR=/mnt/data
|
|
ENV PHOENIX_HOST=0.0.0.0
|
|
ENV PHOENIX_PORT=6006
|
|
ENV PHOENIX_GRPC_PORT=4317
|
|
|
|
COPY ./PySocks-1.7.1-py3-none-any.whl /app/PySocks-1.7.1-py3-none-any.whl
|
|
RUN pip install --no-cache-dir /app/PySocks-1.7.1-py3-none-any.whl
|
|
|
|
RUN pip install --no-cache-dir arize-phoenix
|
|
|
|
WORKDIR /app
|
|
|
|
RUN mkdir -p /mnt/data
|
|
VOLUME ["/mnt/data"]
|
|
|
|
EXPOSE 6006 4317
|
|
|
|
CMD ["phoenix", "serve"]
|