File size: 352 Bytes
ca7a710
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b3659e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM node:22-alpine

WORKDIR /app

COPY package.json ./
RUN npm install

COPY index.html ./
#COPY index.tsx ./
#COPY index.css ./
#COPY metadata.json ./
COPY tsconfig.json ./
COPY vite.config.ts ./

# Debug: show what scripts are available
RUN cat package.json | head -20
RUN npx vite build

EXPOSE 7860
CMD ["npx", "serve", "-s", "dist", "-l", "7860"]