Rakib023 commited on
Commit
60a493f
·
verified ·
1 Parent(s): e1c8ebf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,8 +3,8 @@ FROM python:3.9-slim
3
  # Set working directory
4
  WORKDIR /app
5
 
6
- # Create a cache directory and set permissions
7
- RUN mkdir -p /app/cache && chmod -R 777 /app/cache
8
 
9
  # Set environment variable for Hugging Face cache
10
  ENV TRANSFORMERS_CACHE=/app/cache
 
3
  # Set working directory
4
  WORKDIR /app
5
 
6
+ # Create cache and db directories and set permissions
7
+ RUN mkdir -p /app/cache /app/db && chmod -R 777 /app/cache /app/db
8
 
9
  # Set environment variable for Hugging Face cache
10
  ENV TRANSFORMERS_CACHE=/app/cache