sameernotes commited on
Commit
7f8f884
·
verified ·
1 Parent(s): b4f5651

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -24,5 +24,8 @@ RUN chown -R node:node /app
24
  # Switch to the node user
25
  USER node
26
 
 
 
 
27
  # Command to run the application
28
  CMD ["npm", "run", "start"]
 
24
  # Switch to the node user
25
  USER node
26
 
27
+ # Command to build the application
28
+ CMD ["npm", "run", "build"]
29
+
30
  # Command to run the application
31
  CMD ["npm", "run", "start"]