mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
Update dockerfile
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user