Files
aigen/Dockerfile
T
TowstyandCursor 83051e0ea3 Add a persistent clip library with folders, optional password, and hidden-thumbnail glow.
Generated videos save into a chosen folder, sensitive clips skip thumbnails until played, and Docker writes the catalog to a Coolify volume.

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

20 lines
443 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
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"]