From 2102a5421d8e1ec705b3c999d40f80e8be1dc813 Mon Sep 17 00:00:00 2001 From: Jose Angel Sanchez Castillejos Date: Tue, 28 May 2019 22:59:23 -0500 Subject: [PATCH] Remove test command in make file since test are run from insede container --- Dockerfile | 17 ++++++++++++++--- Makefile | 3 --- python/requirements.txt | 1 + 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 082e044..c904cac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,17 @@ -FROM python:alpine3.7 +FROM python:3.7-stretch -WORKDIR /usr/src/app +RUN apt-get -y install libc-dev -RUN pip install -r python/requirements.txt +RUN pip install pip==19.1.1 + +COPY python/requirements.txt . +RUN pip install -r requirements.txt + +COPY . . + +WORKDIR python + +RUN python setup.py install + +WORKDIR / diff --git a/Makefile b/Makefile index 23738f0..b6b6a55 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,3 @@ py-shell: shell: docker-compose run package bash - -test: - docker-compose run package python -m unittest \ No newline at end of file diff --git a/python/requirements.txt b/python/requirements.txt index 1db1b72..b38510b 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -7,3 +7,4 @@ lunardate>=0.1.5 convertdate>=2.1.2 holidays>=0.9.5 setuptools-git>=1.2 +ipython==7.5.0 \ No newline at end of file