decktape/Dockerfile

29 lines
599 B
Docker
Raw Normal View History

FROM debian:8.3
2015-11-13 06:53:55 +03:00
2016-09-20 18:37:58 +03:00
ENV TERM xterm-color
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
libfontconfig \
ca-certificates
2015-11-13 06:53:55 +03:00
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 \
2016-09-27 16:07:05 +03:00
-o phantomjs
2016-09-27 16:07:05 +03:00
RUN chmod +x phantomjs
WORKDIR /slides
2016-09-27 16:07:05 +03:00
ENTRYPOINT ["/decktape/phantomjs", "/decktape/decktape.js"]
2015-11-22 21:06:53 +03:00
CMD ["-h"]