Fred808 commited on
Commit
9068030
·
verified ·
1 Parent(s): 9a8fae4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -15,6 +15,9 @@ RUN apt-get update -y && \
15
  apt-get clean && \
16
  rm -rf /var/lib/apt/lists/* # Clean up to reduce image size
17
 
 
 
 
18
  # Switch back to the non-root user
19
  USER user
20
 
 
15
  apt-get clean && \
16
  rm -rf /var/lib/apt/lists/* # Clean up to reduce image size
17
 
18
+ # Ensure /app is writable by the non-root user
19
+ RUN chown user:user /app
20
+
21
  # Switch back to the non-root user
22
  USER user
23