Skip to content

Commit

Permalink
improve PDM usage in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Sep 5, 2024
1 parent 936713b commit 40ba485
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ RUN apk add --no-cache \
libffi-dev \
openssl-dev

ENV PDM_VERSION=2.18.1
RUN curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -

ENV PATH="/root/.local/bin:$PATH"

COPY . .

ENV PDM_CHECK_UPDATE=false
RUN pdm export > /tmp/requirements.txt

ARG PDM_BUILD_SCM_VERSION="0.0.1"
Expand Down

0 comments on commit 40ba485

Please sign in to comment.