FROM python:3.8-slim
ADD extractor_service requirements.txt /extractor_service/
WORKDIR /extractor_service/
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3","main.py"]