Files
docker-autocompose/Dockerfile
Konstantin Köhring 6c70d7c75f Fix Python packaging for Python 3.12 (#79)
* Translate setup.py to pyproject.toml

* Introduce PEP518 by using Poetry as package manager
* Introduce PEP402-ish package structure
* Remove requirements.txt and setup.py
* Update Dockerfile and Docs for new packaging method

* Bump dependencies, remove six

six is no longer necessary as of docker-py 5.0.1 (see https://github.com/docker/docker-py/pull/2863)
2024-11-13 12:17:10 -05:00

12 lines
296 B
Docker

FROM python:3.12-alpine
LABEL org.opencontainers.image.source=https://github.com/Red5d/docker-autocompose
WORKDIR /usr/src/app
ENTRYPOINT [ "poetry", "run", "autocompose" ]
RUN apk add --no-cache poetry
COPY poetry.lock pyproject.toml README.md ./
COPY src ./src
RUN poetry install