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

5 years ago
5 years ago
5 years ago
  1. FROM python:3-slim
  2. LABEL maintainer="Drew Short <warrick@sothr.com>"
  3. ARG PYSPELLING_VERSION=2.5.1
  4. RUN mkdir -p /opt/checker \
  5. /source
  6. VOLUME /source
  7. COPY . /opt/checker
  8. RUN apt-get -y update \
  9. && apt-get -y --no-install-recommends install \
  10. aspell \
  11. aspell-en \
  12. gawk \
  13. hunspell \
  14. hunspell-en-us \
  15. sed \
  16. && rm -Rf /var/lib/apt/lists/*
  17. RUN python -m pip install -r /opt/checker/requirements.txt
  18. WORKDIR /opt/checker