Skip to content

Commit

Permalink
fix: install poetry version that supports export command
Browse files Browse the repository at this point in the history
  • Loading branch information
wgwz committed Oct 10, 2023
1 parent 2d2a27b commit c0dead9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heroku.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c0dead9

Please sign in to comment.