Created
January 4, 2020 14:36
-
-
Save gh640/5ac7e01a2849e91b61ad2769e0bb89eb to your computer and use it in GitHub Desktop.
Sample: Python Poetry installation in Docker container
This file contains 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.8 | |
ENV POETRY_VERSION=1.0.0 \ | |
PATH="/root/.poetry/bin:$PATH" | |
WORKDIR /app | |
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/${POETRY_VERSION}/get-poetry.py | python && \ | |
poetry config virtualenvs.create false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-compose.yml
: