mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-08-03 22:38:43 +00:00
feat(docker-file): use SearXNG URL from env
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
FROM node:slim
|
||||
|
||||
ARG SEARXNG_API_URL
|
||||
ENV SEARXNG_API_URL=${SEARXNG_API_URL}
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
@ -11,8 +12,6 @@ COPY drizzle.config.ts /home/perplexica/
|
||||
COPY package.json /home/perplexica/
|
||||
COPY yarn.lock /home/perplexica/
|
||||
|
||||
RUN sed -i "s|SEARXNG = \".*\"|SEARXNG = \"${SEARXNG_API_URL}\"|g" /home/perplexica/config.toml
|
||||
|
||||
RUN mkdir /home/perplexica/data
|
||||
|
||||
RUN yarn install
|
||||
|
Reference in New Issue
Block a user