hansaka01 commited on
Commit
077fdac
·
verified ·
1 Parent(s): 2fd5e3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -13,7 +13,8 @@ RUN --mount=type=secret,id=GIT_REPO_URL,mode=0444,required=true \
13
  git clone $(cat /run/secrets/GIT_REPO_URL) .
14
 
15
  # Install project dependencies
16
- RUN npm ci --only=production
 
17
 
18
  # Expose the port your app runs on
19
  EXPOSE 7860
 
13
  git clone $(cat /run/secrets/GIT_REPO_URL) .
14
 
15
  # Install project dependencies
16
+ # Replace the old npm ci line with this:
17
+ RUN npm install --omit=dev
18
 
19
  # Expose the port your app runs on
20
  EXPOSE 7860