Skip to content

Commit

Permalink
Install Poetry from pinned version
Browse files Browse the repository at this point in the history
This longstanding TODO will at least make sure we have one source of
truth for Poetry versions.
  • Loading branch information
DavidCain committed Jun 23, 2024
1 parent a4532bd commit 4084f2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - Ensure that Celery works as well
# - Run WSGI with an ENTRYPOINT

FROM ubuntu:22.04 as build
FROM ubuntu:22.04 AS build

WORKDIR /app/

Expand Down Expand Up @@ -42,8 +42,8 @@ ENV LC_ALL=en_US.UTF-8

RUN pip3 install --upgrade pip==22.0.4

# TODO: Check asdf's .tool-versions
RUN pip install poetry==1.7.1
COPY .tool-versions .
RUN pip install poetry==$(awk '/poetry/{printf $2}' .tool-versions)
COPY poetry.lock .

# Instruct poetry to create a venv in `.venv`, then auto-add it to path
Expand Down

0 comments on commit 4084f2e

Please sign in to comment.