Skip to content

Commit

Permalink
build(docker): install build-essential before building Python deps
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Oct 12, 2024
1 parent e9a9bee commit 2005989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ WORKDIR /

COPY pyproject.toml poetry.lock ./

RUN apt update
RUN apt install -y build-essential
RUN python -m venv $POETRY_HOME
RUN $POETRY_HOME/bin/pip install poetry
RUN poetry install --without dev --no-root
Expand Down

0 comments on commit 2005989

Please sign in to comment.