mirror of
https://github.com/astefanutti/decktape.git
synced 2024-11-29 23:13:11 +03:00
ee6891524d
Fixes #68
32 lines
650 B
Docker
32 lines
650 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 ./
|
|
COPY phantomjs.json ./
|
|
|
|
RUN mkdir bin
|
|
|
|
RUN curl -kf \
|
|
-L https://github.com/astefanutti/decktape/releases/download/v1.0.0/phantomjs-linux-x86-64 \
|
|
-o bin/phantomjs
|
|
|
|
RUN chmod +x bin/phantomjs
|
|
|
|
WORKDIR /slides
|
|
|
|
ENTRYPOINT ["/decktape/bin/phantomjs", "/decktape/decktape.js"]
|
|
CMD ["-h"]
|