Skip to content

Instantly share code, notes, and snippets.

@gh640
Created Jan 4, 2020
Embed
What would you like to do?
Sample: Python Poetry installation in Docker container
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
@gh640

This comment has been minimized.

Copy link
Owner Author

@gh640 gh640 commented Jan 4, 2020

docker-compose.yml:

version: "3"

services:
  python:
    build: .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment