forked from jeroenboeye/ml-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (15 loc) · 700 Bytes
/
Dockerfile
File metadata and controls
25 lines (15 loc) · 700 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
FROM ubuntu:18.04
LABEL maintainer="Pieter Buteneers<pieter.buteneers@gmail.com>"
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install npm nodejs python3-pip git python-dev
#RUN npm name=configurable-http-proxy global=yes
RUN npm install -g configurable-http-proxy
RUN pip3 install jupyterhub jupyter numpy scipy matplotlib sklearn pandas
COPY jupyterhub_config.py /etc/jupyterhub/jupyterhub_config.py
COPY release/1/ /home/cs/tutorial/
COPY create_users.py /tmp/create_users.py
RUN python3 /tmp/create_users.py 200 password
COPY jupyterhub /etc/init.d/jupyterhub
RUN update-rc.d jupyterhub defaults
CMD ["jupyterhub", "-f", "/etc/jupyterhub/jupyterhub_config.py"]