feat(docker-file): use SearXNG URL from env
This commit is contained in:
parent
07e5615860
commit
1fcd64ad42
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue