Spaces:
Running
Running
File size: 495 Bytes
ef64d6b 6102449 ef64d6b 9264e00 6102449 9264e00 ef64d6b 9264e00 ef64d6b 9264e00 ef64d6b 9264e00 6102449 ef64d6b 6102449 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM python:3.9-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
python3-dev \
libeigen3-dev \
python3-pybind11 \
&& rm -rf /var/lib/apt/lists/*
# Copy files
COPY requirements.txt cubic_cpp.cpp setup.py app.py ./
# Install Python requirements
RUN pip install --no-cache-dir -r requirements.txt
# Build the C++ extension
RUN pip install -e .
# Run the application
CMD ["streamlit", "run", "app.py"] |