chore: обновление документации, Docker, UI и поисковых компонентов
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -2,7 +2,7 @@ FROM node:24.5.0-slim AS builder
|
||||
|
||||
RUN apt-get update && apt-get install -y python3 python3-pip sqlite3 && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
WORKDIR /home/gooseek
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --network-timeout 600000
|
||||
@@ -12,7 +12,7 @@ COPY src ./src
|
||||
COPY public ./public
|
||||
COPY drizzle ./drizzle
|
||||
|
||||
RUN mkdir -p /home/perplexica/data
|
||||
RUN mkdir -p /home/gooseek/data
|
||||
RUN yarn build
|
||||
|
||||
FROM node:24.5.0-slim
|
||||
@@ -24,15 +24,15 @@ RUN apt-get update && apt-get install -y \
|
||||
curl sudo \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
WORKDIR /home/gooseek
|
||||
|
||||
COPY --from=builder /home/perplexica/public ./public
|
||||
COPY --from=builder /home/perplexica/.next/static ./public/_next/static
|
||||
COPY --from=builder /home/perplexica/.next/standalone ./
|
||||
COPY --from=builder /home/perplexica/data ./data
|
||||
COPY --from=builder /home/gooseek/public ./public
|
||||
COPY --from=builder /home/gooseek/.next/static ./public/_next/static
|
||||
COPY --from=builder /home/gooseek/.next/standalone ./
|
||||
COPY --from=builder /home/gooseek/data ./data
|
||||
COPY drizzle ./drizzle
|
||||
|
||||
RUN mkdir /home/perplexica/uploads
|
||||
RUN mkdir /home/gooseek/uploads
|
||||
|
||||
RUN useradd --shell /bin/bash --system \
|
||||
--home-dir "/usr/local/searxng" \
|
||||
@@ -60,7 +60,7 @@ RUN cd "/usr/local/searxng/searxng-src" && \
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
WORKDIR /home/gooseek
|
||||
COPY entrypoint.sh ./entrypoint.sh
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
RUN sed -i 's/\r$//' ./entrypoint.sh || true
|
||||
@@ -71,4 +71,4 @@ EXPOSE 3000 8080
|
||||
|
||||
ENV SEARXNG_API_URL=http://localhost:8080
|
||||
|
||||
CMD ["/home/perplexica/entrypoint.sh"]
|
||||
CMD ["/home/gooseek/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user