WebashalarForML commited on
Commit
3f9d22b
·
verified ·
1 Parent(s): 6d6605c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -28,6 +28,16 @@ RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /a
28
  && chmod -R 777 /app/uploads /app/data /app/JSON /app/Models \
29
  && chown -R appuser:appgroup /app
30
 
 
 
 
 
 
 
 
 
 
 
31
  # Create necessary directories
32
  RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /app/logs /tmp/matplotlib /tmp/transformers_cache
33
 
 
28
  && chmod -R 777 /app/uploads /app/data /app/JSON /app/Models \
29
  && chown -R appuser:appgroup /app
30
 
31
+
32
+ # Create necessary directories and set permissions
33
+ RUN mkdir -p /app/uploads /app/data /app/JSON /app/Models /app/logs \
34
+ && chown -R appuser:appgroup /app
35
+
36
+ # Set permissions for uploads
37
+ RUN chmod -R 777 /app/uploads
38
+
39
+
40
+
41
  # Create necessary directories
42
  RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /app/logs /tmp/matplotlib /tmp/transformers_cache
43