Akhil-Theerthala commited on
Commit
02b0322
·
verified ·
1 Parent(s): 2cdfc6e

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -1,7 +1,5 @@
1
- # Use Node.js runtime
2
  FROM node:18-alpine
3
 
4
- # Set working directory
5
  WORKDIR /app
6
 
7
  # Copy package files
@@ -16,7 +14,7 @@ COPY . .
16
  # Build the application
17
  RUN npm run build
18
 
19
- # Install serve to serve the built app
20
  RUN npm install -g serve
21
 
22
  # Expose port 7860 (required for Hugging Face Spaces)
 
 
1
  FROM node:18-alpine
2
 
 
3
  WORKDIR /app
4
 
5
  # Copy package files
 
14
  # Build the application
15
  RUN npm run build
16
 
17
+ # Install serve globally
18
  RUN npm install -g serve
19
 
20
  # Expose port 7860 (required for Hugging Face Spaces)