53d666f0e0
This tracks compose and source files for mcp-stub/phoenix while excluding local runtime data and wheel artifacts. Made-with: Cursor
19 lines
397 B
Docker
19 lines
397 B
Docker
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
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
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY app.py /app/app.py
|
|
|
|
EXPOSE 8081
|
|
|
|
CMD ["python", "app.py"]
|