aminaj commited on
Commit
fac6a8e
·
verified ·
1 Parent(s): f5cb737

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -46,11 +46,11 @@ RUN chown appuser /data
46
  RUN mkdir -p /images
47
  RUN chown appuser /images
48
 
49
- # Create the app.log file
50
- RUN touch /app.log
51
 
52
- # Assign the ownership of app.log to appuser
53
- RUN chown appuser /app.log
54
 
55
  # Switch to the non-privileged user to run the application.
56
  USER appuser
 
46
  RUN mkdir -p /images
47
  RUN chown appuser /images
48
 
49
+ # Create the 'logs' directory for app.log file
50
+ RUN mkdir /logs
51
 
52
+ # Assign the ownership of 'logs' to appuser
53
+ RUN chown appuser /logs
54
 
55
  # Switch to the non-privileged user to run the application.
56
  USER appuser