FabienDanieau commited on
Commit
9877c43
·
1 Parent(s): 5e1d569

go back to port 9090

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -3
  2. src/webpack.config.cjs +1 -1
Dockerfile CHANGED
@@ -15,7 +15,7 @@ COPY src/ ./
15
 
16
 
17
  # Expose the port expected by Hugging Face Spaces
18
- EXPOSE 7860
19
 
20
- # Start the application on 0.0.0.0 and use the port from $PORT (default 7860), allow all hosts
21
- CMD ["sh", "-c", "npm start -- --host 0.0.0.0 --port ${PORT:-7860} --allowed-hosts all"]
 
15
 
16
 
17
  # Expose the port expected by Hugging Face Spaces
18
+ EXPOSE 9090
19
 
20
+ # Start the application on 0.0.0.0 and use the port from $PORT (default 9090), allow all hosts
21
+ CMD ["sh", "-c", "npm start -- --host 0.0.0.0 --port ${PORT:-9090} --allowed-hosts all"]
src/webpack.config.cjs CHANGED
@@ -44,7 +44,7 @@ const browserConfig = {
44
  open: true,
45
  static: false,
46
  server: "http",
47
- port: 7860
48
  },
49
 
50
  plugins: [
 
44
  open: true,
45
  static: false,
46
  server: "http",
47
+ port: 9090
48
  },
49
 
50
  plugins: [