mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 22:47:25 +01:00
19 lines
288 B
Docker
19 lines
288 B
Docker
FROM node:14-alpine
|
|
MAINTAINER Thomas Ruoff <thomasruoff@gmail.com>
|
|
|
|
RUN apk add --no-cache texlive texmf-dist
|
|
|
|
USER 1000
|
|
|
|
COPY --chown=1000:1000 . /home/node
|
|
|
|
WORKDIR /home/node
|
|
RUN npm ci && npm run build
|
|
|
|
ENV JSON_STORE=/pdfer-store
|
|
VOLUME /pdfer-store
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD npm run start
|