KunalThakare279 commited on
Commit
f94bded
·
verified ·
1 Parent(s): 5689d36

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -15,17 +15,17 @@ RUN chown -R appuser:appgroup /app
15
  # Switch to the non-root user
16
  USER root
17
 
18
- RUN mkdir -p /app/.cache/huggingface
19
- RUN chmod -R 777 /app/.cache
20
-
21
- RUN apt-get update && apt-get install -y git
22
-
23
  # Install Python dependencies
24
  RUN python -m pip install --no-cache-dir -r requirements.txt
25
 
26
  # Switch back to root to add commands that need root access
27
  USER root
28
 
 
 
 
 
 
29
  # Expose the port that the application listens on
30
  EXPOSE 8000
31
 
 
15
  # Switch to the non-root user
16
  USER root
17
 
 
 
 
 
 
18
  # Install Python dependencies
19
  RUN python -m pip install --no-cache-dir -r requirements.txt
20
 
21
  # Switch back to root to add commands that need root access
22
  USER root
23
 
24
+ RUN mkdir -p /app/.cache/huggingface
25
+ RUN chmod -R 777 /app/.cache
26
+
27
+ RUN apt-get update && apt-get install -y git
28
+
29
  # Expose the port that the application listens on
30
  EXPOSE 8000
31