mbarnig commited on
Commit
b17dd27
·
verified ·
1 Parent(s): 02344a6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -15,9 +15,11 @@ RUN npm install
15
 
16
  RUN npm run dev
17
 
 
 
18
  # Command to start the application
19
- # CMD ["npm", "run", "dev"]
20
- CMD ["--host", "0.0.0.0", "--port", "7860"]
21
 
22
  # Expose application's default port
23
  EXPOSE 7860
 
15
 
16
  RUN npm run dev
17
 
18
+ RUN npm run build
19
+
20
  # Command to start the application
21
+ CMD ["npm", "run", "start"]
22
+ # CMD ["--host", "0.0.0.0", "--port", "7860"]
23
 
24
  # Expose application's default port
25
  EXPOSE 7860