decktape/Dockerfile

32 lines
650 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 ./
COPY phantomjs.json ./
RUN mkdir bin
RUN curl -kf \
-L https://github.com/astefanutti/decktape/releases/download/v1.0.0/phantomjs-linux-x86-64 \
2015-11-13 06:53:55 +03:00
-o bin/phantomjs
RUN chmod +x bin/phantomjs
WORKDIR /slides
ENTRYPOINT ["/decktape/bin/phantomjs", "/decktape/decktape.js"]
2015-11-22 21:06:53 +03:00
CMD ["-h"]