https://github.com/nayls-cloud/python
1.1K
Runtime images - images without dev depndency
SDK images - images with dev dependency (build-essential, libffi-dev, etc), use for build in CI, and final image create with multistage build, see example.
Dockerfile links3.8-slim
3.8-slim-poetry
3.8-slim-poetry-cargo
3.8-slim-sdk
3.8-slim-poetry-sdk
3.8-slim-poetry-cargo-sdk
3.9-slim
3.9-slim-poetry
3.9-slim-poetry-cargo
3.9-slim-sdk
3.9-slim-poetry-sdk
3.9-slim-poetry-cargo-sdk
3.10-slim
3.10-slim-poetry
3.10-slim-poetry-cargo
3.10-slim-sdk
3.10-slim-poetry-sdk
3.10-slim-poetry-cargo-sdk
FROM naylscloud/python:3.9-slim-poetry-cargo-sdk as dependency-image
COPY poetry.lock pyproject.toml ./
RUN poetry install --no-interaction --no-dev --no-root --no-ansi -vvv
FROM naylscloud/python:3.9-slim as runtime-image
WORKDIR /app
COPY --from=dependency-image $VENV_PATH $VENV_PATH
COPY ./ ./
ENTRYPOINT faust -A app.worker worker
Content type
Image
Digest
Size
340.7 MB
Last updated
almost 5 years ago
docker pull naylscloud/python:3.9-slim-poetry-cargo-sdk