15 lines
384 B
Text
15 lines
384 B
Text
FROM python:3.11
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
RUN apt update
|
|
RUN apt-get install -y libc-dev libffi-dev gcc
|
|
RUN apt update && apt -y install software-properties-common gcc
|
|
RUN git clone https://github.com/edenhill/librdkafka
|
|
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
|
|
|
RUN pip install -r ./deploy/requirements_redshift.txt
|
|
|
|
CMD ["python", "consumer.py"]
|
|
|