mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
make the docker build actually working
This commit is contained in:
@@ -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
|
||||
|
||||
1
server/texmf
Submodule
1
server/texmf
Submodule
Submodule server/texmf added at f5a8fe0ed0
Reference in New Issue
Block a user