Instead of storing logs inside the container (where then cannot easily be seen not rotated), consider using the standard Docker approach of writing to standard output https://docs.docker.com/config/containers/logging/
Co-authored-by: Yaman Qalieh <ybq987@gmail.com>