-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (29 loc) · 1.41 KB
/
Dockerfile
File metadata and controls
37 lines (29 loc) · 1.41 KB
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
#FROM ubuntu:18.04
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
MAINTAINER Vishnu <vshgemini@gmail.com>
# Supress warnings about missing front-end. As recommended at:
# http://stackoverflow.com/questions/22466255/is-it-possibe-to-answer-dialog-questions-when-installing-under-docker
ARG DEBIAN_FRONTEND=noninteractive
# Essentials: developer tools, build tools, OpenBLAS
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils git curl vim unzip openssh-client wget \
software-properties-common \
build-essential cmake \
libopenblas-dev
RUN add-apt-repository -y ppa:jonathonf/python-3.6 \
&& apt-get install -y --no-install-recommends python3.6 python3.6-dev python3-pip python3-tk && \
pip3 install --no-cache-dir --upgrade pip setuptools
# Pillow and it's dependencies
RUN apt-get install -y --no-install-recommends libjpeg-dev zlib1g-dev && \
pip3 --no-cache-dir install Pillow
# custom pip packages
RUN pip3 --no-cache-dir install numpy pandas scipy sklearn scikit-image matplotlib Cython requests msgpack-python
RUN pip3 install spacy
RUN pip3 install allennlp
RUN pip3 install torch torchvision
RUN python3 -m spacy download en
RUN mkdir -p QuAC_data
RUN wget http://s3.amazonaws.com/my89public/quac/train.json -O QuAC_data/train.json
RUN mkdir -p glove
RUN wget http://nlp.stanford.edu/data/glove.840B.300d.zip -O glove/glove.840B.300d.zip
RUN unzip glove/glove.840B.300d.zip -d glove