2024-07-06 09:43:05 +00:00
|
|
|
FROM node:slim
|
2024-04-09 10:51:05 +00:00
|
|
|
|
|
|
|
WORKDIR /home/perplexica
|
|
|
|
|
|
|
|
COPY src /home/perplexica/src
|
|
|
|
COPY tsconfig.json /home/perplexica/
|
2024-06-29 05:40:26 +00:00
|
|
|
COPY drizzle.config.ts /home/perplexica/
|
2024-04-09 10:51:05 +00:00
|
|
|
COPY package.json /home/perplexica/
|
|
|
|
COPY yarn.lock /home/perplexica/
|
|
|
|
|
2024-06-29 05:40:26 +00:00
|
|
|
RUN mkdir /home/perplexica/data
|
|
|
|
|
2024-10-03 05:11:05 +00:00
|
|
|
RUN yarn install --frozen-lockfile
|
2024-04-09 10:51:05 +00:00
|
|
|
RUN yarn build
|
|
|
|
|
|
|
|
CMD ["yarn", "start"]
|