Spaces:
Sleeping
Sleeping
File size: 633 Bytes
d8dbe2b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | FROM python:3.10-slim
# Avoid interactive prompts
ENV DEBIAN_FRONTEND=noninteractive
# System deps (important for RDKit / ML)
RUN apt-get update && apt-get install -y \
git \
git-lfs \
build-essential \
sqlite3 \
&& rm -rf /var/lib/apt/lists/*
# Install git-lfs
RUN git lfs install
# Set working directory
WORKDIR /app
# Copy dependency files first (better caching)
COPY requirements.txt .
RUN pip install --upgrade pip setuptools wheel \
&& pip install -r requirements.txt
# Copy the rest of the project
COPY . .
# Editable install
RUN pip install -e .
# Default command (can override)
CMD ["bash"]
|