CoolFace
Apppublic

ecopus/mesh-refinement-agent

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
Dockerfile54 linesDownload Raw Back to root
1FROM python:3.10-slim2 3# ------------------------------------------------------4# System Dependencies (Debian 12 compatible)5# ------------------------------------------------------6RUN apt-get update && apt-get install -y \7    build-essential \8    cmake \9    mesa-utils \10    libgl1 \11    libglx-mesa0 \12    libglu1-mesa \13    libgl1-mesa-dri \14    libglib2.0-0 \15    libglfw3 \16    libx11-6 \17    libxcursor1 \18    libxrandr2 \19    libxinerama1 \20    libxi6 \21    libxft2 \22    wget \23    && rm -rf /var/lib/apt/lists/*24 25# ------------------------------------------------------26# Install Gmsh CLI27# ------------------------------------------------------28RUN wget https://gmsh.info/bin/Linux/gmsh-4.11.1-Linux64.tgz && \29    tar -xzf gmsh-4.11.1-Linux64.tgz && \30    mv gmsh-4.11.1-Linux64 /usr/local/gmsh && \31    ln -s /usr/local/gmsh/bin/gmsh /usr/bin/gmsh32 33# ------------------------------------------------------34# Install Python Dependencies35# ------------------------------------------------------36COPY requirements.txt /app/requirements.txt37WORKDIR /app38RUN pip install --upgrade pip39RUN pip install -r requirements.txt40 41# ------------------------------------------------------42# Copy Application Code43# ------------------------------------------------------44COPY . /app45 46# Print directory tree so we can confirm example_steps exists47RUN echo "===== DEBUG: Listing /app =====" && ls -R /app48 49RUN mkdir -p /app/output50 51ENV PYTHONUNBUFFERED=152 53CMD ["python", "app.py"]54