perplexica/backend.dockerfile

20 lines
403 B
Plaintext
Raw Normal View History

FROM node:slim
2024-04-09 10:51:05 +00:00
ARG SEARXNG_API_URL
ENV SEARXNG_API_URL=${SEARXNG_API_URL}
2024-04-09 10:51:05 +00:00
WORKDIR /home/perplexica
COPY src /home/perplexica/src
COPY tsconfig.json /home/perplexica/
COPY config.toml /home/perplexica/
COPY drizzle.config.ts /home/perplexica/
2024-04-09 10:51:05 +00:00
COPY package.json /home/perplexica/
COPY yarn.lock /home/perplexica/
RUN mkdir /home/perplexica/data
RUN yarn install
2024-04-09 10:51:05 +00:00
RUN yarn build
CMD ["yarn", "start"]