
* Simple docker build and push * Removed requirement of defining in the config.toml file, everything should be available from the environment * Added workflow dispatch
18 lines
No EOL
329 B
Docker
18 lines
No EOL
329 B
Docker
FROM node:slim
|
|
|
|
ARG SEARXNG_API_URL
|
|
|
|
WORKDIR /home/perplexica
|
|
|
|
COPY src /home/perplexica/src
|
|
COPY tsconfig.json /home/perplexica/
|
|
COPY drizzle.config.ts /home/perplexica/
|
|
COPY package.json /home/perplexica/
|
|
COPY yarn.lock /home/perplexica/
|
|
|
|
RUN mkdir /home/perplexica/data
|
|
|
|
RUN yarn install
|
|
RUN yarn build
|
|
|
|
CMD ["yarn", "start"] |