cognee/cognee-frontend/Dockerfile
Boris d6727a1b4a
fix: UnstructuredDocument read method (#1141)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-24 13:23:27 +02:00

22 lines
552 B
Docker

# Use an official Node.js runtime as a parent image
FROM node:22-alpine
# Set the working directory to /app
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package.json package-lock.json ./
# Install any needed packages specified in package.json
RUN npm ci
RUN npm rebuild lightningcss
# Copy the rest of the application code to the working directory
COPY src ./src
COPY public ./public
COPY next.config.mjs .
COPY postcss.config.mjs .
COPY tsconfig.json .
# Build the app and run it
CMD ["npm", "run", "dev"]