kkthakur commited on
Commit
c78d3ed
·
1 Parent(s): b336134

Limit compilation concurrency using MAX_JOBS=1 to prevent OOM

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -14,6 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
14
  COPY requirements.txt .
15
 
16
  # Install dependencies
 
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  # Copy the rest of the application code
 
14
  COPY requirements.txt .
15
 
16
  # Install dependencies
17
+ ENV MAX_JOBS=1
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
  # Copy the rest of the application code