Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
- switch there to python 3
- avoid installation of additional packages (from Codacy)
- delete the apt-get lists after installing something (from Codacy)
  • Loading branch information
zuphilip authored and stweil committed Oct 4, 2018
1 parent 91ddda5 commit 269900d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
# Test: ./test/tsht
#

FROM python:2
FROM python:3
ENV PYTHONIOENCODING utf8

RUN apt-get update && apt-get install -y pdfgrep
RUN apt-get update && apt-get install -y --no-install-recommends pdfgrep \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down

0 comments on commit 269900d

Please sign in to comment.