make the docker build actually working

This commit is contained in:
Thomas Ruoff
2017-02-28 00:09:11 +01:00
parent 5eceb35987
commit e7834cd4ee
5 changed files with 45 additions and 10 deletions

View File

@@ -1,4 +1,27 @@
FROM mhart/alpine-node:7.6
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
CMD ["node", "index.js"]
RUN npm install --production
CMD node index.js