COP_TEST / Dockerfile
Iris314's picture
Update Dockerfile
087eef9 verified
raw
history blame contribute delete
885 Bytes
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"]