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 apt-get -y update \ && apt-get -y --no-install-recommends install \ aspell \ aspell-en \ gawk \ hunspell \ hunspell-en-us \ sed \ && rm -Rf /var/lib/apt/lists/* RUN python -m pip install -r /opt/checker/requirements.txt WORKDIR /opt/checker