Files
vinci/Dockerfile
2023-03-04 17:34:52 +01:00

28 lines
439 B
Docker

FROM node:lts
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
RUN apt-get update && \
apt-get install -y build-essential \
wget \
python3 \
make \
gcc \
libc6-dev \
bash \
ffmpeg \
msttcorefonts-installer \
fontconfig
WORKDIR /app
COPY package.json ./
RUN npm i
EXPOSE 7272
COPY . .
RUN npm run build
CMD node ./dist/index.js