FrederickSundeep commited on
Commit
e8d7c1a
·
1 Parent(s): 68bed1a

commit initial update 28082025-003

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. package.json +1 -1
Dockerfile CHANGED
@@ -21,4 +21,4 @@ RUN npm install -g serve
21
  EXPOSE 7860
22
 
23
  # Start the React build with serve
24
- CMD ["serve", "-s", "build", "-l", "7860"]
 
21
  EXPOSE 7860
22
 
23
  # Start the React build with serve
24
+ CMD ["REACT_APP_HF_TOKEN=$HF_TOKEN","serve", "-s", "build", "-l", "7860"]
package.json CHANGED
@@ -19,7 +19,7 @@
19
  },
20
  "scripts": {
21
  "start": "react-scripts start",
22
- "build": "REACT_APP_HF_TOKEN=$HF_TOKEN react-scripts build",
23
  "test": "react-scripts test",
24
  "eject": "react-scripts eject"
25
  },
 
19
  },
20
  "scripts": {
21
  "start": "react-scripts start",
22
+ "build": "react-scripts build",
23
  "test": "react-scripts test",
24
  "eject": "react-scripts eject"
25
  },