alllexxx1/python-project-49

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM python:3.10-slim

WORKDIR /brain-games

COPY . .

RUN pip install poetry

RUN poetry config virtualenvs.create false
RUN poetry config installer.max-workers 1
RUN poetry install --without dev --no-interaction --no-ansi

RUN poetry build
RUN python3 -m pip install dist/*.whl