Files
pdfer/server/Dockerfile
2017-02-28 00:10:31 +01:00

28 lines
479 B
Docker

FROM base/archlinux
MAINTAINER Thomas Ruoff <thomasruoff@gmail.com>
# basics
RUN pacman -Syu --noconfirm sed grep awk
# texlive
RUN pacman -S --noconfirm texlive-core texlive-latexextra
# TODO: move up later
RUN pacman -S --noconfirm tar gzip
# node
RUN pacman -S --noconfirm nodejs npm
# private tex things
ADD ./texmf/tex/latex/* /usr/share/texmf/tex/latex/
# fix font map file issue
RUN updmap
ADD . /code
WORKDIR /code
RUN npm install --production
CMD node index.js