FROM python:3.10

WORKDIR /readPortSerie

COPY Pipfile Pipfile.lock ./

RUN pip install pipenv && pipenv install --deploy --system

COPY . .

CMD ["python3", "readPortSerieArduino.py"]