Install poetry from alpine repositories

1373-login-form-move-reset-your-password-link
Georg Krause 2022-06-11 23:57:17 +02:00
rodzic e8b41fd06f
commit be02ebfb52
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2970D504B2183D22
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -4,8 +4,7 @@ FROM alpine:3.16 as pre-build
# dependencies. This is only required until alpine 3.16 is released, since this
# allows us to install poetry as package.
RUN apk add --no-cache python3 py3-cryptography py3-pip && \
pip3 install poetry
RUN apk add --no-cache python3 py3-cryptography py3-pip poetry
COPY pyproject.toml poetry.lock /
RUN poetry export --without-hashes > requirements.txt
RUN poetry export --dev --without-hashes > dev-requirements.txt