File size: 405 Bytes
6d9f36a
 
 
 
 
 
 
 
 
 
da8de4d
6d9f36a
 
229c8e2
6d9f36a
 
d953e15
6d9f36a
 
 
 
 
207aa5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"]