Znfeoqm commited on
Commit
edbc8a0
·
verified ·
1 Parent(s): 7423108

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,7 +18,7 @@ COPY --from=builder /app/dist /usr/share/nginx/html
18
  # Copy the custom Nginx configuration file
19
  COPY nginx.conf /etc/nginx/nginx.conf
20
 
21
- # EXPOSE port 8080 to match the Nginx listen port
22
- EXPOSE 8080
23
 
24
  CMD ["nginx", "-g", "daemon off;"]
 
18
  # Copy the custom Nginx configuration file
19
  COPY nginx.conf /etc/nginx/nginx.conf
20
 
21
+ # EXPOSE port 7860 to match Hugging Face Spaces' expectation
22
+ EXPOSE 7860
23
 
24
  CMD ["nginx", "-g", "daemon off;"]