TheK3R1M commited on
Commit
62c0581
·
verified ·
1 Parent(s): 9402edf

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -13,11 +13,5 @@ COPY . .
13
  # Build the app
14
  RUN npm run build
15
 
16
- # Install a simple static file server
17
- RUN npm install -g serve
18
-
19
- # Hugging Face Spaces expose port 7860
20
- EXPOSE 7860
21
-
22
  # Serve the application
23
- CMD ["serve", "-s", "dist", "-l", "7860"]
 
13
  # Build the app
14
  RUN npm run build
15
 
 
 
 
 
 
 
16
  # Serve the application
17
+ CMD ["npx", "serve", "-s", "dist", "-l", "7860"]