fdrah commited on
Commit
c4707e9
·
1 Parent(s): 14e1de6

dockerfile-update2

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -18,7 +18,7 @@ COPY frontend/ ./
18
  # Build the frontend using Vite
19
  # We set NODE_OPTIONS to limit Node's heap memory to prevent it from OOMing
20
  ENV NODE_OPTIONS="--max-old-space-size=4096"
21
- RUN VITE_API_URL="" npm run build
22
 
23
  # ==============================================================================
24
  # Stage 2: Final image combining python backend and frontend static assets
 
18
  # Build the frontend using Vite
19
  # We set NODE_OPTIONS to limit Node's heap memory to prevent it from OOMing
20
  ENV NODE_OPTIONS="--max-old-space-size=4096"
21
+ RUN VITE_API_URL="" npx vite build
22
 
23
  # ==============================================================================
24
  # Stage 2: Final image combining python backend and frontend static assets