Resolve a gihub python-processor issue 2

This commit is contained in:
Christian Tzolov
2019-05-16 12:37:34 +02:00
parent 3b6cdc1417
commit 1959f91c83
6 changed files with 0 additions and 0 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", "$@", "--"]