sergejcodes commited on
Commit
f183469
1 Parent(s): 0ef75a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -18,7 +18,7 @@ RUN --mount=type=secret,id=URI,mode=0444,required=true \
18
  git clone $(cat /run/secrets/URI) .
19
 
20
  RUN pip install --no-cache-dir -qq -r requirements.txt \
21
- && npm install \
22
  && npm cache clean --force > /dev/null 2>&1
23
 
24
  EXPOSE 7860
 
18
  git clone $(cat /run/secrets/URI) .
19
 
20
  RUN pip install --no-cache-dir -qq -r requirements.txt \
21
+ && npm ci --omit dev --ignore-scripts \
22
  && npm cache clean --force > /dev/null 2>&1
23
 
24
  EXPOSE 7860