SupremoUGH commited on
Commit
211207b
·
unverified ·
1 Parent(s): 9b0ddac

saved model and results

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -7,6 +7,10 @@ WORKDIR /app
7
  # Copy the requirements file first (to leverage Docker's caching mechanism)
8
  COPY requirements.txt .
9
 
 
 
 
 
10
  # Set the environment variable for Hugging Face cache
11
  RUN mkdir -p /tmp/transformers_cache && chmod -R 777 /tmp/transformers_cache
12
  ENV TRANSFORMERS_CACHE=/tmp/transformers_cache
 
7
  # Copy the requirements file first (to leverage Docker's caching mechanism)
8
  COPY requirements.txt .
9
 
10
+ # Ensure the results directory has the right permissions
11
+ RUN mkdir -p /app/results && chmod -R 777 /app/results
12
+ RUN mkdir -p /app/saved_model && chmod -R 777 /app/saved_model
13
+
14
  # Set the environment variable for Hugging Face cache
15
  RUN mkdir -p /tmp/transformers_cache && chmod -R 777 /tmp/transformers_cache
16
  ENV TRANSFORMERS_CACHE=/tmp/transformers_cache