Няма описание
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.

1234567891011121314151617181920
  1. # Builds all XEPs by default, HTML & PDF
  2. # docker build . --build-arg NCORES=X --build-arg TARGETS="html pdf"
  3. # from Dockerfile.base
  4. FROM xmppxsf/xeps-base:latest
  5. ARG NCORES=1
  6. ARG TARGETS="html inbox-html inbox-xml pdf xeplist refs"
  7. COPY *.xml xep.* *.css *.xsl *.js *.xsl Makefile /src/
  8. COPY resources/*.pdf /src/resources/
  9. COPY tools/*.py /src/tools/
  10. COPY inbox/*.xml inbox/*.ent inbox/*.dtd /src/inbox/
  11. COPY texml-xsl/*.xsl /src/texml-xsl/
  12. WORKDIR /src
  13. RUN OUTDIR=/var/www/html/extensions/ make -j$NCORES $TARGETS
  14. EXPOSE 80
  15. CMD /usr/sbin/nginx -g 'daemon off;'