FROM python:3.10 AS beer_base_image

WORKDIR /wine_data

COPY requirements.txt .

RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libsasl2-dev python-dev-is-python3 libldap2-dev libssl-dev

RUN pip install --upgrade pip

RUN pip --default-timeout=1000 install -r requirements.txt