forked from josephenguehard/time_interpret
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
16 lines (12 loc) · 719 Bytes
/
Copy pathDockerfile
File metadata and controls
16 lines (12 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM gcr.io/deeplearning-platform-release/pytorch-gpu
COPY ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub
RUN apt-get update && apt-get install -y screen vim tmux zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
RUN sed -i 's/robbyrussell/avit/g' ~/.zshrc
RUN echo "alias lss='ls -rtlh'" >> ~/.zshrc
COPY . /root/time_interpret
WORKDIR /root/time_interpret
RUN pip install --no-deps -e .