Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Commit

Permalink
Add Dockerfile (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbernius authored and srehwald committed Mar 3, 2018
1 parent ff50794 commit 680c74e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM python:3.6

RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
tree \
poppler-utils \
&& apt-get autoclean \
&& apt-get --purge --yes autoremove \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

ENV PYTHONPATH src/

CMD ["pytest"]

0 comments on commit 680c74e

Please sign in to comment.