Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -9,15 +9,12 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 poppler-utils
|
|
9 |
# Tạo các thư mục cần thiết
|
10 |
RUN mkdir -p /code/temp
|
11 |
RUN mkdir -p /nltk_data
|
12 |
-
|
13 |
-
RUN mkdir -p /code/vector_database
|
14 |
|
15 |
# Thiết lập quyền truy cập
|
16 |
RUN chmod -R 777 /nltk_data
|
17 |
RUN chmod -R 777 /code
|
18 |
RUN chmod -R 777 /code/temp
|
19 |
-
RUN chmod -R 777 /code/user_file
|
20 |
-
RUN chmod -R 777 /code/vector_database
|
21 |
|
22 |
# Sao chép tệp yêu cầu và cài đặt các gói Python
|
23 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
9 |
# Tạo các thư mục cần thiết
|
10 |
RUN mkdir -p /code/temp
|
11 |
RUN mkdir -p /nltk_data
|
12 |
+
|
|
|
13 |
|
14 |
# Thiết lập quyền truy cập
|
15 |
RUN chmod -R 777 /nltk_data
|
16 |
RUN chmod -R 777 /code
|
17 |
RUN chmod -R 777 /code/temp
|
|
|
|
|
18 |
|
19 |
# Sao chép tệp yêu cầu và cài đặt các gói Python
|
20 |
COPY ./requirements.txt /code/requirements.txt
|