CoolFace
Apppublic

ToadPres/3d-scene-generator

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes
Dockerfile31 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y \7    git \8    build-essential \9    cmake \10    && rm -rf /var/lib/apt/lists/*11 12# Clone and install SHARP13RUN git clone https://github.com/apple/ml-sharp.git /tmp/ml-sharp && \14    cd /tmp/ml-sharp && \15    pip install --no-cache-dir -e . && \16    rm -rf /tmp/ml-sharp/.git17 18# Copy requirements19COPY requirements.txt .20RUN pip install --no-cache-dir -r requirements.txt21 22# Copy application23COPY . .24 25# Create directories26RUN mkdir -p static temp27 28EXPOSE 786029 30CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]31