gaialive commited on
Commit
e46cfca
·
verified ·
1 Parent(s): 4b4aeda

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -28,10 +28,10 @@ RUN pip3 install --no-cache-dir -r backend/python/requirements.txt
28
  COPY . .
29
 
30
  # --- Create Runtime Directories & Set Permissions ---
31
- # Create directories that the application needs to write to at runtime.
32
- # Then, change their ownership to the non-root 'node' user so the app has write access.
33
- RUN mkdir -p /app/backend/uploads /app/backend/temp /app/backend/results /app/backend/database && \
34
- chown -R node:node /app/backend/uploads /app/backend/temp /app/backend/results /app/backend/database
35
 
36
  # --- Build the React Frontend ---
37
  # This runs the memory-efficient build script from web/package.json
 
28
  COPY . .
29
 
30
  # --- Create Runtime Directories & Set Permissions ---
31
+ # Create ephemeral directories for temporary files. The database will be in-memory.
32
+ # Then, change ownership to the non-root 'node' user so the app has write access.
33
+ RUN mkdir -p /app/backend/uploads /app/backend/temp /app/backend/results && \
34
+ chown -R node:node /app/backend/uploads /app/backend/temp /app/backend/results
35
 
36
  # --- Build the React Frontend ---
37
  # This runs the memory-efficient build script from web/package.json