From ea4b12eb87aeac870f1d4b9758dbb5c73b0a2b14 Mon Sep 17 00:00:00 2001 From: Kyle Lawlor-Bagcal Date: Thu, 28 Sep 2023 20:18:19 -0400 Subject: [PATCH] fix: install poetry version that supports export command --- heroku.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heroku.Dockerfile b/heroku.Dockerfile index 2c71639..34c28ec 100644 --- a/heroku.Dockerfile +++ b/heroku.Dockerfile @@ -2,7 +2,7 @@ FROM python:3.9 # Install dependencies RUN apt-get update -RUN apt-get install curl libpq-dev postgresql-client nodejs python3-poetry yarnpkg -y +RUN apt-get install curl libpq-dev postgresql-client nodejs yarnpkg -y # Set working directory WORKDIR /home/indexer @@ -11,6 +11,7 @@ WORKDIR /home/indexer COPY . . # Install indexer +RUN pip3 install poetry==1.6.1 RUN poetry install RUN poetry export --without-hashes --format=requirements.txt > requirements.txt RUN pip3 install -r requirements.txt