Skip to content

Commit

Permalink
build: Dockerfile working on Raspberry PI
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrcezimbra committed Jan 17, 2024
1 parent 798e50e commit e16199a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit e16199a

Please sign in to comment.