decktape/Dockerfile
2017-01-27 22:20:51 +01:00

29 lines
599 B
Docker

FROM debian:8.3
ENV TERM xterm-color
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
libfontconfig \
ca-certificates
WORKDIR /decktape
# Copy each directory individually as Docker Hub does not take .dockerignore into account for the moment
# COPY . .
COPY libs libs/
COPY plugins plugins/
COPY decktape.js ./
RUN curl -f \
-L https://github.com/astefanutti/decktape/releases/download/v1.0.0/phantomjs-linux-x86-64 \
-o phantomjs
RUN chmod +x phantomjs
WORKDIR /slides
ENTRYPOINT ["/decktape/phantomjs", "/decktape/decktape.js"]
CMD ["-h"]