prithivMLmods commited on
Commit
ca7a710
·
verified ·
1 Parent(s): 4b3659e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -19
Dockerfile CHANGED
@@ -1,20 +1,20 @@
1
- FROM node:22-alpine
2
-
3
- WORKDIR /app
4
-
5
- COPY package.json ./
6
- RUN npm install
7
-
8
- COPY index.html ./
9
- COPY index.tsx ./
10
- COPY index.css ./
11
- COPY metadata.json ./
12
- COPY tsconfig.json ./
13
- COPY vite.config.ts ./
14
-
15
- # Debug: show what scripts are available
16
- RUN cat package.json | head -20
17
- RUN npx vite build
18
-
19
- EXPOSE 7860
20
  CMD ["npx", "serve", "-s", "dist", "-l", "7860"]
 
1
+ FROM node:22-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ COPY package.json ./
6
+ RUN npm install
7
+
8
+ COPY index.html ./
9
+ #COPY index.tsx ./
10
+ #COPY index.css ./
11
+ #COPY metadata.json ./
12
+ COPY tsconfig.json ./
13
+ COPY vite.config.ts ./
14
+
15
+ # Debug: show what scripts are available
16
+ RUN cat package.json | head -20
17
+ RUN npx vite build
18
+
19
+ EXPOSE 7860
20
  CMD ["npx", "serve", "-s", "dist", "-l", "7860"]