devusman commited on
Commit
d0aa81a
·
1 Parent(s): 038c860

dockerfile update

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -11,12 +11,9 @@ RUN npm install
11
  # Copy the rest of your application code
12
  COPY . .
13
 
14
- # Expose the port that Hugging Face Spaces expects
 
15
  EXPOSE 7860
16
 
17
- # Metadata for Hugging Face Spaces to identify the running application port
18
- LABEL "app_port"="7860"
19
- LABEL "app_file"="index.js"
20
-
21
  # The command to start your Express server
22
  CMD ["node", "index.js"]
 
11
  # Copy the rest of your application code
12
  COPY . .
13
 
14
+ # Expose the port that Hugging Face Spaces expects.
15
+ # The platform will detect this and route traffic accordingly.
16
  EXPOSE 7860
17
 
 
 
 
 
18
  # The command to start your Express server
19
  CMD ["node", "index.js"]