add store dir

This commit is contained in:
Thomas Ruoff
2021-03-07 00:19:24 +01:00
parent c775e6d68d
commit 444ba20385
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM node:14-alpine AS builder
FROM node:14-alpine
MAINTAINER Thomas Ruoff <thomasruoff@gmail.com>
RUN apk add --no-cache texlive texmf-dist
@@ -10,6 +10,9 @@ 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