Skip to content

Instantly share code, notes, and snippets.

@lucaspar
Last active December 20, 2023 08:10
Show Gist options
  • Save lucaspar/2007d0308cd09d5b2fd995c22a731349 to your computer and use it in GitHub Desktop.
Save lucaspar/2007d0308cd09d5b2fd995c22a731349 to your computer and use it in GitHub Desktop.
Minimal installation of Poetry in Docker
# use python3 alpine image
FROM python:3.12-alpine
# install curl
RUN apk add --no-cache curl
# install poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment