Skip to content

Commit

Permalink
Build the container from the requirement/*.txt files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmulich authored and Michael Mulich committed May 7, 2019
1 parent 03edebf commit 6c9937b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ COPY . /src
WORKDIR /src

RUN set -x \
# FIXME: pip still has an issue with dependencies that have requirement
# extras. It understands the requirement but drops the extras part.
&& python -m pip install "cnx-epub[collation]" \
&& python -m pip install -e ".[test]"
&& python -m pip install \
-r requirements/main.txt \
-r requirements/test.txt \
-r requirements/docs.txt \
-r requirements/lint.txt \
&& python -m pip install -e .

ENV PYRAMID_INI environ.ini

0 comments on commit 6c9937b

Please sign in to comment.