mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
20 lines
267 B
Docker
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 |