Files
vinci/Dockerfile
2023-03-04 16:50:18 +01:00

20 lines
267 B
Docker

FROM node:lts-alpine
RUN apk add bash ffmpeg msttcorefonts-installer fontconfig libc-dev
RUN update-ms-fonts && fc-cache -f
WORKDIR /app
COPY package.json ./
RUN npm i
EXPOSE 7272
COPY . .
RUN npm run build
RUN npm prune --production
CMD node ./dist/index.js