diff --git a/Dockerfile b/Dockerfile index a1ce31f..7ba8a68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM python:3.12 +# Rust is required to install cryptography when running on a Rasbperry PI +FROM rust:latest -WORKDIR /app +RUN apt-get update && apt-get install -y python3-dev pipx && pipx install poetry +ENV PATH="/root/.local/bin:${PATH}" -RUN pip install --upgrade pip && pip install poetry +WORKDIR /app COPY poetry.lock pyproject.toml ./ RUN poetry install --no-root --without=dev