rushter--mlalgorithms
41abfd310f
* add docker configuration Why: * it's a nice way to work in a disposable environment This change addresses the need by: * add dockerfile * update readme to explain usage Reference Links: * * switch to using official python image as a base Why: * removes a lot of custom setup This change addresses the need by: * swap out buildpack-deps:trusty with python:3 * remove setup lines that are no longer required * clean up comment to describe the RUN command Reference Links: * https://hub.docker.com/r/library/python/
11 行
174 B
Docker
11 行
174 B
Docker
FROM python:3
|
|
|
|
RUN mkdir -p /var/app
|
|
WORKDIR /var/app
|
|
COPY . /var/app
|
|
|
|
# install scipy & numpy
|
|
# install required packages
|
|
RUN pip install scipy numpy && \
|
|
pip install .
|