vumichien commited on
Commit
fdc7ec8
·
1 Parent(s): 11aa943

Add application file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -10,7 +10,8 @@ RUN apt-get update && apt-get install -y \
10
 
11
  # Tạo các thư mục cần thiết và cấp quyền
12
  RUN mkdir -p /app/data /app/temp /tmp/huggingface-cache && \
13
- chmod -R 777 /app/data /app/temp /tmp/huggingface-cache
 
14
 
15
  ENV TRANSFORMERS_CACHE=/tmp/huggingface-cache
16
  ENV HF_HOME=/tmp/huggingface-cache
 
10
 
11
  # Tạo các thư mục cần thiết và cấp quyền
12
  RUN mkdir -p /app/data /app/temp /tmp/huggingface-cache && \
13
+ chmod -R 777 /app/data /app/temp /tmp/huggingface-cache && \
14
+ chown -R 1000:1000 /app/data /app/temp /tmp/huggingface-cache
15
 
16
  ENV TRANSFORMERS_CACHE=/tmp/huggingface-cache
17
  ENV HF_HOME=/tmp/huggingface-cache