yuki-api / Dockerfile
aripbae's picture
Update Dockerfile
207aa5a verified
raw
history blame contribute delete
405 Bytes
FROM node:22-alpine
WORKDIR /app
COPY package.json ./
COPY tsconfig.json ./
COPY vite.config.ts ./
COPY tailwind.config.ts ./
COPY postcss.config.js ./
RUN npm i && npm i -g echowarp
COPY src ./src
COPY _build/ ./_build
COPY components.json ./
RUN npx tsx _build/script.ts
EXPOSE 7860
ENV PORT=7860
ENV NODE_ENV=production
CMD ["sh", "-c", "node dist/index.cjs & echowarp 7860 --debug --name yuki"]