-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
FROM phusion/baseimage:latest | ||
MAINTAINER Oleg Medvedev <[email protected]> | ||
ARG VERSION=unknown | ||
FROM jupyter/base-notebook:latest | ||
MAINTAINER Oleg Medvedev <[email protected]> | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
python3 python3-numpy python3-nose python3-pandas \ | ||
pep8 python3-pip python3-matplotlib git && \ | ||
pip3 install --upgrade setuptools | ||
USER root | ||
|
||
RUN mkdir -p /root/.config/matplotlib && \ | ||
echo backend:Agg > /root/.config/matplotlib/matplotlibrc | ||
RUN apt-get update && apt-get install -y git | ||
|
||
RUN VERSION=${VERSION} git clone https://github.com/omdv/robinhood-portfolio && \ | ||
pip3 install --upgrade --force-reinstall -r robinhood-portfolio/requirements.txt | ||
RUN git clone https://github.com/omdv/robinhood-portfolio ./work && \ | ||
pip3 install --upgrade --force-reinstall -r work/requirements.txt | ||
|
||
CMD cd robinhood-portfolio && python3 app.py | ||
USER $NB_USER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters