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