|
|
@ -32,9 +32,9 @@ WORKDIR /tmp |
|
|
|
COPY backend/pyproject.toml backend/poetry.lock /tmp/ |
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"] |
|
|
|
|
|
|
|
RUN pip install --no-cache-dir pip==22.0.4 \ |
|
|
|
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - \ |
|
|
|
&& PATH="${PATH}:$HOME/.poetry/bin" \ |
|
|
|
RUN pip install -U --no-cache-dir pip==22.2.2 \ |
|
|
|
&& curl -sSL https://install.python-poetry.org | python - \ |
|
|
|
&& export PATH="/root/.local/bin:$PATH" \ |
|
|
|
&& poetry export --without-hashes -o /requirements.txt \ |
|
|
|
&& echo "psycopg2-binary==2.8.6" >> /requirements.txt \ |
|
|
|
&& echo "django-heroku==0.3.1" >> /requirements.txt \ |
|
|
|