-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
23 lines (16 loc) · 819 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel
## The MAINTAINER instruction sets the author field of the generated images.
MAINTAINER sara-es
## DO NOT EDIT the 3 lines.
RUN mkdir /physionet
COPY ./ /physionet
WORKDIR /physionet
## Install your dependencies here using apt install, etc.
RUN apt-key del 7fa2af80 \
&& apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub \
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub \
&& apt-get update \
&& apt-get install -y libsndfile1-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
## Include the following line if you have a requirements.txt file.
RUN pip install -r requirements.txt