/
githubmirror
/
localGPT
Обзор
Документация
Войти
/
githubmirror
/
localGPT
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Dockerfile.frontend
31 строка
680 B
PromptEngineer
Integrate multimodal RAG codebase
11 июл 2025, 10:17
11 июл 2025, 10:17
2421514
Код
Авторство
О чём код?
FROM node:18-alpine # Set working directory WORKDIR /app # Install dependencies (including dev dependencies for build) COPY package.json package-lock.json ./ RUN npm ci # Copy source code and configuration files COPY src/ ./src/ COPY public/ ./public/ COPY next.config.ts ./ COPY tsconfig.json ./ COPY tailwind.config.js ./ COPY postcss.config.mjs ./ COPY eslint.config.mjs ./ # Build the application (skip linting for Docker) ENV NEXT_LINT=false RUN npm run build # Expose port EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ CMD curl -f http://localhost:3000 || exit 1 # Start the application CMD ["npm", "start"]