-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (33 loc) · 1.22 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# base image
#FROM nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04
FROM tensorflow/tensorflow:2.1.0-gpu-py3
# set workdir
WORKDIR /opt/project
# copy project
COPY ./ /opt/project
# Install python and misc
RUN apt-get update ##[edited]
RUN apt-get install 'ffmpeg'\
'libsm6'\
'libxext6' -y
RUN apt install wget
#RUN apt-get update && \
# apt-get install -y --no-install-recommends \
# software-properties-common \
# wget && \
# add-apt-repository -y \
# ppa:deadsnakes/ppa && \
# apt-get update && \
# apt-get install -y --no-install-recommends \
# python3.7 && \
# ln -s -f /usr/bin/python3.7 /usr/bin/python && \
# rm -rf /var/lib/apt/lists/* && \
# wget https://bootstrap.pypa.io/get-pip.py && \
# python get-pip.py && \
# rm get-pip.py
COPY ./requirements.txt /opt/project/requirements.txt
RUN pip install -r requirements.txt
#Download data
#RUN wget https://kaminpublic.s3.eu-north-1.amazonaws.com/MedicationInfo.csv -P /opt/project/data/MRC/
#RUN wget https://kaminpublic.s3.eu-north-1.amazonaws.com/MRCData-processed-interpolated.csv -P /opt/project/data/MRC/
#RUN wget https://kaminpublic.s3.eu-north-1.amazonaws.com/mrc_fold_all.csv -P /opt/project/data/MRC/preproc/