Perplexica/app.dockerfile

22 lines
679 B
Text
Raw Normal View History

FROM node:20.18.0-alpine
2024-04-09 16:21:05 +05:30
WORKDIR /home/perplexica
2025-03-19 16:23:27 +05:30
COPY src /home/perplexica/src
COPY public /home/perplexica/public
COPY package.json /home/perplexica/package.json
COPY yarn.lock /home/perplexica/yarn.lock
COPY tsconfig.json /home/perplexica/tsconfig.json
COPY next.config.mjs /home/perplexica/next.config.mjs
COPY next-env.d.ts /home/perplexica/next-env.d.ts
COPY postcss.config.js /home/perplexica/postcss.config.js
COPY drizzle.config.ts /home/perplexica/drizzle.config.ts
COPY tailwind.config.ts /home/perplexica/tailwind.config.ts
RUN mkdir /home/perplexica/data
RUN mkdir /home/perplexica/uploads
2024-04-09 16:21:05 +05:30
2024-10-18 17:29:26 +05:30
RUN yarn install --frozen-lockfile
2024-04-09 16:21:05 +05:30
RUN yarn build
CMD ["yarn", "start"]