Last active
May 5, 2021 06:29
-
-
Save gh640/01e03016f8d684c09ebb0495fe1d0678 to your computer and use it in GitHub Desktop.
Sample: Install Poetry in Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.9-slim | |
| ARG POETRY_VERSION="1.1.6" | |
| # Install `poetry`. | |
| ADD https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py /tmp/get-poetry.py | |
| RUN python /tmp/get-poetry.py --version "${POETRY_VERSION}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment