mirror of
https://github.com/Red5d/docker-autocompose
synced 2026-01-02 22:58:01 +00:00
* 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)
12 lines
296 B
Docker
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
|