Update dockerfile

This commit is contained in:
Thomas Ruoff
2021-03-06 23:35:43 +01:00
parent c8d02350e6
commit 2721e65f09
3 changed files with 58 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:14-alpine AS builder
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
EXPOSE 3000
CMD npm run start