ken4 commited on
Commit
4d62526
·
verified ·
1 Parent(s): 02dce51

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,7 +13,7 @@ RUN --mount=type=secret,id=GITHUB_REPO,required=true \
13
  RUN npm install
14
 
15
  # Build project (Nuxt, Express bundler, dll)
16
- #RUN npm run build
17
 
18
  # Ganti owner biar bisa jalan sebagai user non-root
19
  RUN chown -R node:node /app
@@ -22,4 +22,4 @@ USER node
22
  EXPOSE 7860
23
 
24
  # Jalankan aplikasi
25
- CMD ["npm", "run", "build"]
 
13
  RUN npm install
14
 
15
  # Build project (Nuxt, Express bundler, dll)
16
+ RUN npm run build
17
 
18
  # Ganti owner biar bisa jalan sebagai user non-root
19
  RUN chown -R node:node /app
 
22
  EXPOSE 7860
23
 
24
  # Jalankan aplikasi
25
+ CMD ["npm", "start"