-
Notifications
You must be signed in to change notification settings - Fork 85
/
Dockerfile
35 lines (26 loc) · 809 Bytes
/
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
#version 0.1
FROM ubuntu:16.04
#maintainer information
LABEL maintainer="[email protected]"
# update the apt package manager
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update
# install make
RUN apt-get install -y build-essential
# install nano
RUN apt-get install -y nano
# install python
RUN apt-get install -y python3.6 python3.6-dev python3-pip python3.6-venv
RUN yes | pip3 install numpy
RUN yes | pip3 install matplotlib
RUN yes | pip3 install snakemake
# create symlink from python3 to python
RUN ln -s $(which python3) /usr/bin/python
# copy project to container
COPY ./ /opt/word_count/
# set work directory in container
WORKDIR /opt/word_count
# default command to execute when container starts
CMD /bin/bash