mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-07 02:18:36 +00:00
Initial commit
This commit is contained in:
17
backend.dockerfile
Normal file
17
backend.dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
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"]
|
Reference in New Issue
Block a user