mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +00:00
Remove test command in make file since test are run from insede container
This commit is contained in:
parent
95d203894d
commit
2102a5421d
3 changed files with 15 additions and 6 deletions
17
Dockerfile
17
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 /
|
||||||
|
|
||||||
|
|
|
||||||
3
Makefile
3
Makefile
|
|
@ -6,6 +6,3 @@ py-shell:
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
docker-compose run package bash
|
docker-compose run package bash
|
||||||
|
|
||||||
test:
|
|
||||||
docker-compose run package python -m unittest
|
|
||||||
|
|
@ -7,3 +7,4 @@ lunardate>=0.1.5
|
||||||
convertdate>=2.1.2
|
convertdate>=2.1.2
|
||||||
holidays>=0.9.5
|
holidays>=0.9.5
|
||||||
setuptools-git>=1.2
|
setuptools-git>=1.2
|
||||||
|
ipython==7.5.0
|
||||||
Loading…
Reference in a new issue