kltn20133118 commited on
Commit
9c7e7ab
·
verified ·
1 Parent(s): c2ff1e7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -20,12 +20,8 @@ ENV XDG_CACHE_HOME=/code/.cache
20
  # Tạo thư mục cache và đảm bảo quyền ghi
21
  RUN mkdir -p /code/.cache && chmod -R 777 /code
22
 
23
- # Copy tệp requirements.txt vào container
24
  COPY ./requirements.txt /code/requirements.txt
25
-
26
- # Cài đặt các dependencies từ requirements.txt
27
- RUN pip install --no-cache-dir --upgrade pip && \
28
- pip install --no-cache-dir --upgrade -r /code/requirements.txt
29
 
30
  # Copy toàn bộ mã nguồn vào container
31
  COPY . .
 
20
  # Tạo thư mục cache và đảm bảo quyền ghi
21
  RUN mkdir -p /code/.cache && chmod -R 777 /code
22
 
 
23
  COPY ./requirements.txt /code/requirements.txt
24
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
 
25
 
26
  # Copy toàn bộ mã nguồn vào container
27
  COPY . .