vijayksagi commited on
Commit
cde7fcf
·
verified ·
1 Parent(s): ff68081

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,10 +11,10 @@ ENV DISABLE_ESLINT_PLUGIN=true
11
  ENV ESLINT_NO_CACHE=true
12
 
13
  # Install dependencies
14
- RUN npm install
15
 
16
  # Expose the React app's default port
17
- EXPOSE 3000
18
 
19
  # Start the React server
20
  CMD ["npm", "start"]
 
11
  ENV ESLINT_NO_CACHE=true
12
 
13
  # Install dependencies
14
+ RUN npm install && npm run build
15
 
16
  # Expose the React app's default port
17
+ EXPOSE 7860
18
 
19
  # Start the React server
20
  CMD ["npm", "start"]