-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (29 loc) · 765 Bytes
/
Dockerfile
File metadata and controls
34 lines (29 loc) · 765 Bytes
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
FROM ubuntu:14.04
MAINTAINER Priti Kumari <priti@jimmy.harvard.edu>
# install required ubuntu packages
RUN DEBIAN_FRONTEND=noninteractive apt-get update --fix-missing && apt-get install -y \
build-essential \
unzip \
pkg-config \
python-dev \
python-matplotlib \
python-pip \
libaio-dev \
libssl-dev \
libffi-dev \
libfreetype6-dev \
libpng-dev \
nano \
&& apt-get clean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
# copy over and install requirements
COPY ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
# copy application to image
COPY ./colemankb /colemankb
COPY ./app.py /app.py
ENTRYPOINT ["python"]
CMD ["app.py"]
# enable nano debugging (i hate vi)
ENV TERM xterm