Update Dockerfile
Browse files45 unmodified lines464748495051525354555645 unmodified linesRUN mkdir -p /imagesRUN chown appuser /images# Create the app.log fileRUN touch /app.log# Assign the ownership of app.log to appuserRUN chown appuser /app.log# Switch to the non-privileged user to run the application.USER appuser45 unmodified lines464748495051525354555645 unmodified linesRUN mkdir -p /imagesRUN chown appuser /images# Create the 'logs' directory for app.log fileRUN mkdir /logs# Assign the ownership of 'logs' to appuserRUN chown appuser /logs# Switch to the non-privileged user to run the application.USER appuser
Dockerfile+4-4