-
Notifications
You must be signed in to change notification settings - Fork 426
/
Dockerfile
25 lines (20 loc) · 870 Bytes
/
Dockerfile
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
FROM pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel
RUN apt-get update && apt-get install -y wget curl git build-essential
# Miniconda
# ENV PATH="/root/miniconda3/bin:${PATH}"
# ARG PATH="/root/miniconda3/bin:${PATH}"
# RUN wget \
# https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
# && mkdir /root/.conda \
# && bash Miniconda3-latest-Linux-x86_64.sh -b \
# && rm -f Miniconda3-latest-Linux-x86_64.sh
# RUN conda create -n xp
# SHELL ["conda", "run", "--no-capture-output", "-n", "xp", "/bin/bash", "-c"]
# RUN conda install python=3.7 \
# && conda install -c conda-forge jupyterlab \
# && conda init bash \
# && echo "conda activate xp" >> ~/.bashrc
RUN pip install ipykernel jupyterlab jupyter_http_over_ws \
&& jupyter serverextension enable --py jupyter_http_over_ws
WORKDIR /content/
COPY . /content/DECA/