perplexica/backend.dockerfile

17 lines
323 B
Plaintext
Raw Normal View History

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