Install poetry from alpine repositories
This commit is contained in:
parent
e8b41fd06f
commit
be02ebfb52
|
@ -4,8 +4,7 @@ FROM alpine:3.16 as pre-build
|
||||||
# dependencies. This is only required until alpine 3.16 is released, since this
|
# dependencies. This is only required until alpine 3.16 is released, since this
|
||||||
# allows us to install poetry as package.
|
# allows us to install poetry as package.
|
||||||
|
|
||||||
RUN apk add --no-cache python3 py3-cryptography py3-pip && \
|
RUN apk add --no-cache python3 py3-cryptography py3-pip poetry
|
||||||
pip3 install poetry
|
|
||||||
COPY pyproject.toml poetry.lock /
|
COPY pyproject.toml poetry.lock /
|
||||||
RUN poetry export --without-hashes > requirements.txt
|
RUN poetry export --without-hashes > requirements.txt
|
||||||
RUN poetry export --dev --without-hashes > dev-requirements.txt
|
RUN poetry export --dev --without-hashes > dev-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue