Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ FROM nvidia/cuda:9.0-cudnn7-devel
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
curl \
wget \
git \
nano \
&& apt-get clean

# Install python miniconda3 + requirements
ENV MINICONDA_HOME="/opt/miniconda"
ENV PATH="${MINICONDA_HOME}/bin:${PATH}"
RUN curl -o Miniconda3-latest-Linux-x86_64.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& chmod +x Miniconda3-latest-Linux-x86_64.sh \
&& ./Miniconda3-latest-Linux-x86_64.sh -b -p "${MINICONDA_HOME}" \
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\
&& chmod +x Miniconda3-latest-Linux-x86_64.sh\
&& ./Miniconda3-latest-Linux-x86_64.sh -b -p "${MINICONDA_HOME}"\
&& rm Miniconda3-latest-Linux-x86_64.sh
COPY environment.yml environment.yml
RUN conda env update -n=root --file=environment.yml
RUN conda clean -y -i -l -p -t && \
RUN conda clean -y -i -p -t && \
rm environment.yml

# Clone deep image prior repository
RUN git clone https://github.com/DmitryUlyanov/deep-image-prior.git
RUN mkdir -p /deep-image-prior
WORKDIR /deep-image-prior

# Start container in notebook mode
Expand Down