Perplexica/backend.dockerfile
Andrew Pennington 7d5eec898d
Docker build & push (#2)
* Simple docker build and push
* Removed requirement of defining in the config.toml file, everything should be available from the environment
* Added workflow dispatch
2024-08-15 19:12:31 +01:00

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"]