You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
482 B

FROM python:3-slim
LABEL maintainer="Drew Short <warrick@sothr.com>"
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