soiz1 commited on
Commit
ce1f8b2
·
verified ·
1 Parent(s): 6e22027

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -17,12 +17,10 @@ RUN apt-get update && \
17
  rm -rf /var/lib/apt/lists/*
18
  ENV PIP_ROOT_USER_ACTION=ignore
19
 
 
20
  RUN pip install --upgrade pip && pip install --prefix=/app/.local -r requirements.txt
21
  ENV PYTHONPATH="/app/.local/lib/python3.7/site-packages:${PYTHONPATH}"
22
 
23
- COPY requirements.txt .
24
- RUN pip install --upgrade pip && pip install -r requirements.txt
25
-
26
  COPY . .
27
  RUN git config --global --add safe.directory /app/CodeFormer
28
  RUN chmod -R 777 /app
 
17
  rm -rf /var/lib/apt/lists/*
18
  ENV PIP_ROOT_USER_ACTION=ignore
19
 
20
+ COPY requirements.txt .
21
  RUN pip install --upgrade pip && pip install --prefix=/app/.local -r requirements.txt
22
  ENV PYTHONPATH="/app/.local/lib/python3.7/site-packages:${PYTHONPATH}"
23
 
 
 
 
24
  COPY . .
25
  RUN git config --global --add safe.directory /app/CodeFormer
26
  RUN chmod -R 777 /app