Skip to content

Commit

Permalink
Add Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarrano committed Nov 10, 2019
1 parent afac666 commit 828be2b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.pyc
*.pyo
*/__pycache__
/dist
/build
/*.egg-info/
*/.mypy_cache
/examples
/tests
/doc
/.git
.gitmodules
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM jcarrano/sphinx-doc AS build-env

ADD . /src
RUN cd /src && python3 setup.py sdist

FROM jcarrano/sphinx-doc
COPY --from=build-env /src/dist/antidox-*.tar.gz /tmp/
RUN apk add --no-cache py3-lxml doxygen && \
pip3 --no-cache-dir install /tmp/antidox-*.tar.gz

0 comments on commit 828be2b

Please sign in to comment.