1 2 3 4 5 6 7
FROM python:3.10.0-alpine3.15 COPY ./ /tmp/build WORKDIR /tmp/build RUN python -m pip install --no-cache-dir . && rm -rf /tmp/build ENTRYPOINT ["pylint"]