# limitations under the License.
# ==================================================================================
-FROM frolvlad/alpine-miniconda3
+FROM frolvlad/alpine-miniconda3:python3.7
# FROM python:3.8-alpine
# RMR setup
# Upgrade pip, install tox
RUN pip install --upgrade pip && pip install tox
-
RUN apk update && apk add gcc musl-dev
-RUN pip install ricxappframe
-RUN conda update -n base -c defaults conda
-RUN conda install -c anaconda pandas
-RUN conda install -c conda-forge/label/cf202003 hdbscan
-RUN pip install schedule
-RUN conda install scikit-learn
# copies
COPY setup.py tox.ini LICENSE.txt /tmp/
-COPY ad/ /tmp/ad
-COPY tests/ /tmp/tests
RUN pip install /tmp
-
+COPY src/ /tmp/src
+COPY tests/ /tmp/tests
# Run the unit tests
WORKDIR /tmp
-RUN PYTHONPATH=/tmp/ad:/usr/lib/python3.7/site-packages/:$PYTHONPATH tox -e code,flake8
+RUN PYTHONPATH=/tmp/src:/usr/lib/python3.7/site-packages/:$PYTHONPATH tox -e code,flake8