shayan5422 commited on
Commit
463d45b
·
verified ·
1 Parent(s): e9162e8

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -19,6 +19,12 @@ WORKDIR /app
19
  # This ensures the directory exists and is writable by the user running the process
20
  RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
21
 
 
 
 
 
 
 
22
  # Copy the requirements file into the container at /app
23
  COPY requirements.txt .
24
 
 
19
  # This ensures the directory exists and is writable by the user running the process
20
  RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
21
 
22
+ # --- Create the persistent storage mount point directory ---
23
+ # Create /data within the image and set permissions.
24
+ # This only helps if HF Spaces actually mounts a writable volume here.
25
+ RUN mkdir -p /data && chmod -R 777 /data
26
+ # ---
27
+
28
  # Copy the requirements file into the container at /app
29
  COPY requirements.txt .
30