sonri/Dockerfile
2025-06-13 09:10:36 +02:00

19 lines
250 B
Docker

FROM node:18
RUN apt-get update && \
apt-get install -y ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
RUN npm install --omit=dev
EXPOSE 3000
CMD ["node", "build"]