harshvisualz commited on
Commit
e0b1399
·
1 Parent(s): 5423de8

Add application file

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -43,7 +43,9 @@ ENV MPLCONFIGDIR=/app/tmp/mpl_config
43
 
44
  # Copy requirements and install Python dependencies
45
  COPY requirements.txt .
46
- RUN pip install --no-cache-dir -r requirements.txt
 
 
47
 
48
  # Copy FastAPI app source code
49
  COPY app.py .
 
43
 
44
  # Copy requirements and install Python dependencies
45
  COPY requirements.txt .
46
+ RUN pip install --upgrade pip && \
47
+ pip install --no-cache-dir --no-user -r requirements.txt
48
+
49
 
50
  # Copy FastAPI app source code
51
  COPY app.py .