Resolve a gihub python-processor issue

This commit is contained in:
Christian Tzolov
2019-05-16 12:36:57 +02:00
parent 5669221fb0
commit 3b6cdc1417
7 changed files with 161 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
FROM springcloud/openjdk:latest
RUN apt-get update && apt-get install --no-install-recommends -y \
python-pip \
&& rm -rf /var/lib/apt/lists/*
RUN pip install kafka-python
COPY python_processor.py /processor/
COPY util/*.py /processor/util/
ENTRYPOINT ["python", "/processor/python_processor.py", "$@", "--"]