File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM debian:10-slim as builder
22ENV LANG C.UTF-8
33ENV DEBIAN_FRONTEND noninteractive
4- RUN apt-get update && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make gcc \
4+ RUN apt-get update -qq && apt-get install --no-install-recommends -y python3-pip python3-setuptools python3-dev make g++ \
55 && apt-get clean && rm -rf /var/lib/apt/lists/*
66ADD requirements-dev.txt /tmp/
77RUN pip3 install wheel && pip3 install -r /tmp/requirements-dev.txt
88RUN mkdir /app
9- WORKDIR /app
9+ WORKDIR /app
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ package:
3636 python3 setup.py sdist bdist_wheel
3737
3838test :
39- pytest --pep8 --cov -s
39+ docker build -f Dockerfile.test -t esdedupe-test .
40+ docker run -v $(shell pwd) :/app --entrypoint /bin/bash -it esdedupe-test
4041
4142clean :
4243 find . -name ' *.pyc' -exec rm --force {} +
Original file line number Diff line number Diff line change 1+ ujson
2+ tqdm
3+ psutil
4+ requests
15elasticsearch
26mock
37pytest
You can’t perform that action at this time.
0 commit comments