Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dashboard using Plotly Dash. #4

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
34 changes: 34 additions & 0 deletions gsoc_application_projects/2020/influenza/dash/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM python:3.5.9-buster

MAINTAINER "Tej Sukhatme"

RUN apt-get update && \
apt-get install -y build-essential cmake && \
apt-get install -y git && \
apt-get install -y swig && \
apt-get install -y ctags && \
pip install numpy ply && \
git clone --recursive https://github.com/shogun-toolbox/shogun.git && \
cd shogun && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/installed/shogun-install \
-DINTERFACE_PYTHON=ON \
-DBUILD_META_EXAMPLES=OFF \
-DENABLE_TESTING=ON \
-DENABLE_DOXYGEN=OFF \
-DCMAKE_BUILD_TYPE=Release .. && \
make install

ENV LD_LIBRARY_PATH=/installed/shogun-install/lib/
ENV PYTHONPATH=/installed/shogun-install/lib/python3.5/site-packages/

RUN pip install --upgrade pip

COPY . /

RUN pip --no-cache-dir install -r requirements.txt

EXPOSE 8050

CMD ["python", "app.py", "-h", "0.0.0.0", "-p", "5000"]
Hephaestus12 marked this conversation as resolved.
Show resolved Hide resolved
Loading