bep40 commited on
Commit
8d4088c
·
verified ·
1 Parent(s): c59285d

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -8,7 +8,10 @@ COPY patch_frontend.py /tmp/patch_frontend.py
8
  RUN python3 /tmp/patch_frontend.py
9
 
10
  WORKDIR /source/frontend
11
- RUN npm install && npm run build
 
 
 
12
 
13
  # Stage 2: Production
14
  FROM python:3.12-slim
 
8
  RUN python3 /tmp/patch_frontend.py
9
 
10
  WORKDIR /source/frontend
11
+ RUN npm config set fetch-timeout 120000 && \
12
+ npm config set fetch-retries 3 && \
13
+ npm install && \
14
+ npm run build
15
 
16
  # Stage 2: Production
17
  FROM python:3.12-slim