ane-kan-runtime / docker /Dockerfile.cpu
JohnGenetica's picture
Deploy ANE KAN runtime Space
201cf4d verified
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PYTHON_BIN=python3
WORKDIR /workspace/ane
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY . /workspace/ane
RUN python3 -m pip install --upgrade pip setuptools wheel && \
python3 -m pip install -e ".[research,benchmarking,visualization,dev]"
RUN chmod +x /workspace/ane/docker/entrypoint.sh
ENTRYPOINT ["/workspace/ane/docker/entrypoint.sh"]
CMD ["confirm"]