Skip to content

Commit

Permalink
Fixes issue 1adrianb#14
Browse files Browse the repository at this point in the history
  • Loading branch information
1adrianb committed Oct 7, 2017
1 parent c4eeeb6 commit 77ec1ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
vim \
ca-certificates \
libboost-all-dev \
python-qt4 \
libjpeg-dev \
libpng-dev &&\
rm -rf /var/lib/apt/lists/*

RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
/opt/conda/bin/conda install conda-build && \
/opt/conda/bin/conda create -y --name pytorch-py35 python=3.5.2 numpy pyyaml scipy ipython mkl&& \
/opt/conda/bin/conda clean -ya
ENV PATH /opt/conda/envs/pytorch-py35/bin:$PATH
RUN conda install --name pytorch-py35 -c soumith magma-cuda80
rm ~/miniconda.sh

ENV PATH /opt/conda/bin:$PATH

RUN conda config --set always_yes yes --set changeps1 no && conda update -q conda
RUN conda install pytorch torchvision cuda80 -c soumith

# Install face-alignment package
Expand Down

0 comments on commit 77ec1ce

Please sign in to comment.