FROM python:3-slim LABEL maintainer="Drew Short " ARG PYSPELLING_VERSION=2.5.1 RUN mkdir -p /opt/checker \ /source VOLUME /source COPY . /opt/checker RUN chmod +x /opt/checker/check_spelling.sh RUN apt-get -y update \ && apt-get -y --no-install-recommends install \ aspell \ aspell-en \ gawk \ hunspell \ hunspell-en-us \ sed \ util-linux \ bsdmainutils \ && rm -Rf /var/lib/apt/lists/* RUN python -m pip install -r /opt/checker/requirements.txt WORKDIR /opt/checker