Leon4gr45 commited on
Commit
1b461c7
·
verified ·
1 Parent(s): c3c2244

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,8 +3,8 @@ WORKDIR /app
3
  COPY package*.json ./
4
  RUN npm install
5
  COPY . .
6
- # Ensure we have permissions and run build
7
- RUN npm run build
8
 
9
  FROM node:20-slim
10
  WORKDIR /app
 
3
  COPY package*.json ./
4
  RUN npm install
5
  COPY . .
6
+ # Use npx and ensure it's pointing to the local vite, which npm install should have handled
7
+ RUN npx vite build
8
 
9
  FROM node:20-slim
10
  WORKDIR /app