Upload FastAPI embedding app
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -6,6 +6,8 @@ WORKDIR /app
|
|
6 |
# Copy tất cả file vào container
|
7 |
COPY . /app
|
8 |
RUN mkdir -p /app/cache
|
|
|
|
|
9 |
|
10 |
# Cài thư viện Python
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
6 |
# Copy tất cả file vào container
|
7 |
COPY . /app
|
8 |
RUN mkdir -p /app/cache
|
9 |
+
RUN mkdir -p /.cache
|
10 |
+
RUN chmod -R 777 /.cache
|
11 |
|
12 |
# Cài thư viện Python
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|