ICAExplorer / Dockerfile
sida's picture
Enable all mini explorer models
7851d33
raw
history blame contribute delete
430 Bytes
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
ICA_EXPLORER_MODEL_NAME=gpt2 \
ICA_EXPLORER_ENABLED_MODELS=gpt2,gemma2_2b,qwen3_5_2b_base \
ICA_EXPLORER_DEVICE=auto \
ICA_EXPLORER_DTYPE=float32
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "-m", "server.app", "--host", "0.0.0.0", "--port", "7860"]