From e846f41178e549705107568b37c486e0ff190f84 Mon Sep 17 00:00:00 2001 From: Hunor Laczko Date: Thu, 22 Dec 2022 22:33:15 +0000 Subject: [PATCH] add dockerfile --- Dockerfile | 15 +++++++++++++++ requirements.txt | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ae539cd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM pytorch/pytorch:1.12.0-cuda11.3-cudnn8-devel + +RUN apt update && apt upgrade -y +RUN apt install git -y + +RUN git clone https://gitea.lnrweb.com/luni/reconstruction.git + +RUN conda install -c fvcore -c iopath -c conda-forge fvcore iopath -y +RUN conda install -c bottler nvidiacub -y +RUN conda install pytorch3d -c pytorch3d -y + +COPY requirements.txt /tmp/ +RUN pip install --requirement /tmp/requirements.txt + +WORKDIR /home/workspace \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6d28766 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +plotly +scipy +deodr +pandas \ No newline at end of file