-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile for release 3.7, plus some documentation updates. The docker image now runs on Python 3.6.7.
- Loading branch information
Nabeel
committed
Nov 21, 2018
1 parent
1cdadbd
commit dfbe005
Showing
3 changed files
with
48 additions
and
8 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.6.7 | ||
|
||
# Set the working directory to /qlik-py-tools | ||
WORKDIR /qlik-py-tools | ||
|
||
# Copy the current directory contents into the container at /qlik-py-tools | ||
COPY . /qlik-py-tools | ||
|
||
# Install dependencies | ||
RUN apt-get update | ||
RUN apt-get install build-essential | ||
|
||
# Upgrade pip and setuptools | ||
RUN python -m pip install --upgrade setuptools pip | ||
|
||
# Install required packages | ||
RUN pip install grpcio | ||
RUN pip install grpcio-tools | ||
RUN pip install numpy | ||
RUN pip install scipy | ||
RUN pip install pandas | ||
RUN pip install cython | ||
RUN pip install pystan==2.17 | ||
RUN pip install fbprophet | ||
RUN pip install -U scikit-learn | ||
RUN pip install hdbscan | ||
RUN pip install -U skater | ||
|
||
# Copy modified file for skater | ||
COPY ./feature_importance.py /usr/local/lib/python3.6/site-packages/skater-1.1.2-py3.6.egg/skater/core/global_interpretation/ | ||
|
||
# Make port 80 available to the world outside this container | ||
EXPOSE 80 | ||
|
||
# Set the working directory to /qlik-py-tools/core | ||
WORKDIR /qlik-py-tools/core | ||
|
||
# Run __main__.py when the container launches | ||
CMD ["python", "__main__.py"] |
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