AbrahamKlb commited on
Commit
6c5867f
·
verified ·
1 Parent(s): e7e3c95

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -39,7 +39,13 @@ RUN mkdir data/Healthy
39
  RUN mkdir data/Blight
40
  RUN mkdir data/Common_Rust
41
  RUN mkdir data/Gray_Leaf_Spot
42
- RUN mkdir temp
 
 
 
 
 
 
43
  # Expose the port the app runs on
44
  EXPOSE 7860
45
 
 
39
  RUN mkdir data/Blight
40
  RUN mkdir data/Common_Rust
41
  RUN mkdir data/Gray_Leaf_Spot
42
+
43
+ # Créez le répertoire et donnez toutes les permissions
44
+ RUN mkdir temp && chmod -R 777 temp
45
+
46
+ # Optionnel : Changez l'utilisateur en root pour garantir l'accès
47
+ USER root
48
+
49
  # Expose the port the app runs on
50
  EXPOSE 7860
51