kapllan commited on
Commit
42c0fbd
·
verified ·
1 Parent(s): 9ce3416

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,7 +23,8 @@ RUN git clone https://github.com/kapllan/SmartOpinion.git /app
23
  RUN mkdir -p /app/logs && chmod -R 777 /app/logs
24
 
25
  # Set the Hugging Face cache environment variable
26
- ENV TRANSFORMERS_CACHE=/app/cache && chmod -R 777 /app/cache
 
27
 
28
  # Set the working directory in the container
29
  WORKDIR /app
 
23
  RUN mkdir -p /app/logs && chmod -R 777 /app/logs
24
 
25
  # Set the Hugging Face cache environment variable
26
+ ENV TRANSFORMERS_CACHE=/app/cache
27
+ RUN chmod -R 777 /app/cache
28
 
29
  # Set the working directory in the container
30
  WORKDIR /app