FROM python:3.12-slim

ENV PYTHONDONTWRITEBYTECODE=1 \
    PYTHONUNBUFFERED=1 \
    PORT=8021

WORKDIR /app
COPY adapter_1c_mcp.py /app/adapter_1c_mcp.py

EXPOSE 8021

CMD ["python", "/app/adapter_1c_mcp.py", "--host", "0.0.0.0", "--port", "8021"]
