File size: 885 Bytes
fda29b5 5fefe6f 64aff99 5fefe6f 2ff4e21 64aff99 74669ea 64aff99 5fefe6f 9af25dc fda29b5 5fefe6f 38fc0bd 087eef9 38fc0bd 087eef9 38fc0bd 087eef9 38fc0bd 9de5cb4 64aff99 5fefe6f 64aff99 bb8728c |
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 35 36 37 38 39 40 41 42 43 44 45 |
FROM continuumio/miniconda3:latest
WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
libx11-dev \
libxext-dev \
libxrender-dev \
libxft-dev \
libxi-dev \
libxinerama-dev \
libxrandr-dev \
libxcursor-dev \
libxt-dev \
libxmu-dev \
libglu1-mesa \
libglu1-mesa-dev \
mesa-common-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN conda install -c conda-forge python=3.10 -y && \
conda clean --all -y
RUN pip install --no-cache-dir \
gradio==3.50.0 \
cadquery-ocp==7.8.1.1.post1 \
gmsh==4.15.0 \
numpy==1.26.4 \
pandas==2.3.3 \
scikit-learn==1.7.2 \
torch==1.13.1 \
matplotlib==3.10.7 \
joblib==1.5.2
COPY . /app/
EXPOSE 7860
CMD ["python", "/app/app.py"] |