Skip to content

Commit

Permalink
update poetry install in dockerfile (#31)
Browse files Browse the repository at this point in the history
Running on a 2023 macbook pro I get an SSL issue during the poetry
installation step:
> Could not fetch URL https://pypi.org/simple/poetry/: There was a
problem confirming the ssl certificate:
HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded
with url: /simple/poetry/ (Caused by SSLError("Can't connect to HTTPS
URL because the SSL module is not available."))

Installing via pip appears to fix it.
  • Loading branch information
ccurme authored Mar 18, 2024
1 parent fb21e7a commit 8cf26d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ RUN set -eux && \
python3-dev \
libmagic1

# https://python-poetry.org/docs/master/#installing-with-the-official-installer
RUN curl -sSL https://install.python-poetry.org | python -
ENV PATH="$POETRY_HOME/bin:$PATH"
# https://python-poetry.org/docs
RUN pip install poetry

# install deps before copying project files so the cache is only invalidated
# when the deps change
Expand Down

0 comments on commit 8cf26d7

Please sign in to comment.