Files
TowstyandCursor 2913909199 Fix library thumbnails and let clips keep a display name.
Extract a poster frame when a still-thumb is missing, and show the clip name in the library with the prompt on the info icon.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 18:49:46 -05:00

21 lines
473 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json .npmrc ./
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
FROM node:22-alpine AS runner
WORKDIR /app
RUN apk add --no-cache ffmpeg
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000
ENV NITRO_HOST=0.0.0.0
ENV NITRO_PORT=3000
ENV LIBRARY_DIR=/data/library
COPY --from=build /app/.output ./.output
RUN mkdir -p /data/library
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]